peer: fix getutxos handler.

This commit is contained in:
Christopher Jeffrey 2016-12-22 05:16:04 -08:00
parent 648ad0227b
commit 8b8a65868b
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1479,7 +1479,7 @@ Peer.prototype.handleGetUTXOs = co(function* handleGetUTXOs(packet) {
if (packet.prevout.length > 15)
return;
utxos = new packets.GetUTXOsPacket();
utxos = new packets.UTXOsPacket();
for (i = 0; i < packet.prevout.length; i++) {
prevout = packet.prevout[i];