pool: fix typo.
This commit is contained in:
parent
9c48cc9333
commit
01bb0adc17
@ -1563,7 +1563,7 @@ Pool.prototype.getData = co(function* getData(peer, type, hash) {
|
||||
return true;
|
||||
|
||||
if (peer.destroyed)
|
||||
throw new Errror('Peer is already destroyed (getdata).');
|
||||
throw new Error('Peer is already destroyed (getdata).');
|
||||
|
||||
item = new LoadRequest(this, peer, type, hash);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user