mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-18 21:32:35 +01:00
TestFeeLevel: use messageSize()
not serialize().length
This commit is contained in:
parent
7c1209db51
commit
05c625113f
@ -86,7 +86,7 @@ public class TestFeeLevel {
|
||||
request.feePerKb = feeRateToTest;
|
||||
request.ensureMinRequiredFee = false;
|
||||
kit.wallet().completeTx(request);
|
||||
System.out.println("Size in bytes is " + request.tx.serialize().length);
|
||||
System.out.println("Size in bytes is " + request.tx.messageSize());
|
||||
System.out.println("TX is " + request.tx);
|
||||
System.out.println("Waiting for " + kit.peerGroup().getMaxConnections() + " connected peers");
|
||||
kit.peerGroup().addDisconnectedEventListener((peer, peerCount) -> System.out.println(peerCount +
|
||||
|
Loading…
Reference in New Issue
Block a user