File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1381,11 +1381,11 @@ impl Listen for ChainListener {
13811381 self . output_sweeper . block_connected ( block, height) ;
13821382 }
13831383
1384- fn block_disconnected ( & self , header : & bitcoin :: block :: Header , height : u32 ) {
1385- self . onchain_wallet . block_disconnected ( header , height ) ;
1386- self . channel_manager . block_disconnected ( header , height ) ;
1387- self . chain_monitor . block_disconnected ( header , height ) ;
1388- self . output_sweeper . block_disconnected ( header , height ) ;
1384+ fn blocks_disconnected ( & self , fork_point_block : lightning :: chain :: BestBlock ) {
1385+ self . onchain_wallet . blocks_disconnected ( fork_point_block ) ;
1386+ self . channel_manager . blocks_disconnected ( fork_point_block ) ;
1387+ self . chain_monitor . blocks_disconnected ( fork_point_block ) ;
1388+ self . output_sweeper . blocks_disconnected ( fork_point_block ) ;
13891389 }
13901390}
13911391
Original file line number Diff line number Diff line change @@ -748,7 +748,7 @@ impl Listen for Wallet {
748748 } ;
749749 }
750750
751- fn block_disconnected ( & self , _header : & bitcoin :: block :: Header , _height : u32 ) {
751+ fn blocks_disconnected ( & self , _fork_point_block : BestBlock ) {
752752 // This is a no-op as we don't have to tell BDK about disconnections. According to the BDK
753753 // team, it's sufficient in case of a reorg to always connect blocks starting from the last
754754 // point of disagreement.
You can’t perform that action at this time.
0 commit comments