Implement chain::Listen without using RefCell
authorJeffrey Czyz <jkczyz@gmail.com>
Mon, 1 Mar 2021 06:39:01 +0000 (22:39 -0800)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 2 Mar 2021 06:12:26 +0000 (22:12 -0800)
The implementation of chain::Listen for ChannelMonitor required using a
RefCell since its block_connected method required a mutable borrow. This
is no longer the case since ChannelMonitor now uses interior mutability
via a Mutex. So the RefCell is no longer needed.


No differences found