3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-30 23:02:15 +00:00

Fix send futures in FakeChannelSink to unbreak a unit test that deadlocks after a previous change.

This commit is contained in:
Mike Hearn 2013-01-23 17:17:00 +01:00
parent d919ede7a8
commit 40c13eb3f3

View File

@ -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();
}
}
}