mirror of
https://github.com/corda/corda.git
synced 2025-04-03 01:21:22 +00:00
Unhandled messages in the in memory messaging network can disrupt runNetwork(), as they result in getNextQueue() returning null, irrespective of whether there is further work which could be done. This modifies the flow to loop through the remaining transfers on the queue before giving up, rather than stopping after the first.