mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-08-01 12:31:23 +00:00
Fix send futures in FakeChannelSink to unbreak a unit test that deadlocks after a previous change.
This commit is contained in:
@@ -48,6 +48,7 @@ public class FakeChannelSink extends AbstractChannelSink {
|
||||
FakeChannel channel = (FakeChannel) event.getChannel();
|
||||
boolean offered = channel.events.offer(event);
|
||||
assert offered;
|
||||
event.getFuture().setSuccess();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user