mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-15 11:45:51 +00:00
GetUTXOsMessage: serialize the includeMempool flag
This commit is contained in:
parent
eab413c814
commit
748f7a53e0
@ -85,7 +85,7 @@ public class GetUTXOsMessage extends Message {
|
||||
|
||||
@Override
|
||||
void bitcoinSerializeToStream(OutputStream stream) throws IOException {
|
||||
stream.write(new byte[]{1}); // include mempool.
|
||||
stream.write(new byte[]{includeMempool ? (byte) 1 : 0}); // include mempool.
|
||||
stream.write(new VarInt(outPoints.size()).encode());
|
||||
for (TransactionOutPoint outPoint : outPoints) {
|
||||
outPoint.bitcoinSerializeToStream(stream);
|
||||
|
Loading…
x
Reference in New Issue
Block a user