Commit 85d38d7
committed
pool: Wrap ChainState notifications handlers.
Wrapping the notification handlers into functions means that the
msg.Done channel only needs to be closed in a single place, rather than
having it closed before every continue/return (which is annoying and
very error prone).1 parent d08d356 commit 85d38d7
1 file changed
Lines changed: 239 additions & 242 deletions
0 commit comments