Skip to content

Commit d99b069

Browse files
committed
fixup: Send peer storage even when using ConnectionStyle::FullBlockViaListen
1 parent 4759f21 commit d99b069

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lightning/src/chain/chainmonitor.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,12 @@ where
734734
monitor.block_connected(
735735
header, txdata, height, &*self.broadcaster, &*self.fee_estimator, &self.logger)
736736
});
737+
738+
// Send peer storage everytime a new block arrives.
739+
for node_id in self.get_peer_node_ids() {
740+
self.send_peer_storage(node_id);
741+
}
742+
737743
// Assume we may have some new events and wake the event processor
738744
self.event_notifier.notify();
739745
}

0 commit comments

Comments
 (0)