File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -907,7 +907,7 @@ fn build_with_store_internal(
907907 ) ) ;
908908
909909 // Read ChannelMonitor state from store
910- let mut channel_monitors = match read_channel_monitors (
910+ let channel_monitors = match read_channel_monitors (
911911 Arc :: clone ( & kv_store) ,
912912 Arc :: clone ( & keys_manager) ,
913913 Arc :: clone ( & keys_manager) ,
@@ -948,7 +948,7 @@ fn build_with_store_internal(
948948 ) {
949949 let mut reader = Cursor :: new ( res) ;
950950 let channel_monitor_references =
951- channel_monitors. iter_mut ( ) . map ( |( _, chanmon) | chanmon) . collect ( ) ;
951+ channel_monitors. iter ( ) . map ( |( _, chanmon) | chanmon) . collect ( ) ;
952952 let read_args = ChannelManagerReadArgs :: new (
953953 Arc :: clone ( & keys_manager) ,
954954 Arc :: clone ( & keys_manager) ,
You can’t perform that action at this time.
0 commit comments