fix getheaders sync.

This commit is contained in:
Christopher Jeffrey 2016-02-21 16:33:20 -08:00
parent 2ce5848d4c
commit 78098bcad5

View File

@ -625,7 +625,7 @@ Peer.prototype._handleReject = function handleReject(payload) {
entry.e.emit('reject', payload);
};
Peer.prototype.loadHeaders = function loadHeaders(hashes, stop) {
Peer.prototype.getHeaders = function getHeaders(hashes, stop) {
utils.debug(
'Requesting headers packet from %s with getheaders',
this.host);