mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 07:12:17 +00:00
Fix build, somehow this didn't show up before.
This commit is contained in:
parent
fef4829a3d
commit
b3c761388f
@ -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…
Reference in New Issue
Block a user