mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-12 10:15:52 +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 {
|
public void fourPeers() throws Exception {
|
||||||
InboundMessageQueuer[] channels = { connectPeer(1), connectPeer(2), connectPeer(3), connectPeer(4) };
|
InboundMessageQueuer[] channels = { connectPeer(1), connectPeer(2), connectPeer(3), connectPeer(4) };
|
||||||
Transaction tx = new Transaction(params);
|
Transaction tx = new Transaction(params);
|
||||||
TransactionBroadcast broadcast = new TransactionBroadcast(peerGroup, tx);
|
TransactionBroadcast broadcast = new TransactionBroadcast(peerGroup, blockChain.getContext(), tx);
|
||||||
ListenableFuture<Transaction> future = broadcast.broadcast();
|
ListenableFuture<Transaction> future = broadcast.broadcast();
|
||||||
assertFalse(future.isDone());
|
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
|
// We expect two peers to receive a tx message, and at least one of the others must announce for the future to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user