fix getheaders sync.
This commit is contained in:
parent
2ce5848d4c
commit
78098bcad5
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user