peer: fix getutxos handler.
This commit is contained in:
parent
648ad0227b
commit
8b8a65868b
@ -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];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user