Skip to content

Commit 31ec11f

Browse files
committed
Close channels on Err returns inside the same channel_state lock
If we never accessed channels for a peer outside of a message handler for that peer then this wouldn't be a problem since message handlers are required to be serialized per-peer. However, that isn't the world we live in - we may want to forward payments or we may get a send_payment call.
1 parent bac091c commit 31ec11f

File tree

1 file changed

+153
-104
lines changed

1 file changed

+153
-104
lines changed

0 commit comments

Comments
 (0)