add timestamp sync
This commit is contained in:
parent
1b783df70a
commit
981c56f091
3 changed files with 12 additions and 2 deletions
|
|
@ -326,7 +326,7 @@ Network.prototype.start = function(opts, openCallback) {
|
|||
this._setupConnectionHandlers(openCallback);
|
||||
var pubkey = this.getKey().public.toString('hex');
|
||||
this.socket.emit('subscribe', pubkey);
|
||||
//this.socket.emit('sync');
|
||||
this.socket.emit('sync', opts.lastTimestamp);
|
||||
this.started = true;
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue