pool: fix typo.

This commit is contained in:
Christopher Jeffrey 2016-11-24 01:20:21 -08:00
parent 9c48cc9333
commit 01bb0adc17
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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);