mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-24 06:47:54 +01:00
Fix build, somehow this didn't show up before.
This commit is contained in:
parent
fef4829a3d
commit
b3c761388f
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ public class TransactionBroadcastTest extends TestWithPeerGroup {
|
|||
public void fourPeers() throws Exception {
|
||||
InboundMessageQueuer[] channels = { connectPeer(1), connectPeer(2), connectPeer(3), connectPeer(4) };
|
||||
Transaction tx = new Transaction(params);
|
||||
TransactionBroadcast broadcast = new TransactionBroadcast(peerGroup, tx);
|
||||
TransactionBroadcast broadcast = new TransactionBroadcast(peerGroup, blockChain.getContext(), tx);
|
||||
ListenableFuture<Transaction> future = broadcast.broadcast();
|
||||
assertFalse(future.isDone());
|
||||
// We expect two peers to receive a tx message, and at least one of the others must announce for the future to
|
||||
|
|
Loading…
Add table
Reference in a new issue