Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix missing handling of mediator mailbox msg #3310
We have a bug with the handling of missing mailbox messaged from mediation result and the peers accept message (carrying the signature). This PR fixes that.
For testing shut down the other trade peer at each step after mediation gets closed.
We need to delay that call as we might get executed at startup after mailbox messages are applied where we iterate over out pending trades. The closeDisputedTrade method would remove that trade from the list causing a ConcurrentModificationException. To avoid that we delay for one render frame.