Browse Source

PeerManager: Save start_height on peer.

patch-2
olalonde 11 years ago
parent
commit
dd6d1a3179
  1. 2
      PeerManager.js

2
PeerManager.js

@ -112,6 +112,8 @@ PeerManager.prototype.addConnection = function(socketConn, peer) {
PeerManager.prototype.handleVersion = function(e) {
e.peer.version = e.message.version;
e.peer.start_height = e.message.start_height;
if (!e.conn.inbound) {
// TODO: Advertise our address (if listening)
}

Loading…
Cancel
Save