We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9e29c7 commit 275f3a2Copy full SHA for 275f3a2
lightning/src/chain/chainmonitor.rs
@@ -704,7 +704,9 @@ where C::Target: chain::Filter,
704
705
fn send_peer_storage(&self, their_node_id: PublicKey) {
706
// TODO: Serialize `ChannelMonitor`s inside `our_peer_storage`.
707
-
+ #[cfg(fuzzing)]
708
+ let random_bytes = [42u8; 32];
709
+ #[cfg(not(fuzzing))]
710
let random_bytes = self.entropy_source.get_secure_random_bytes();
711
let serialised_channels = Vec::new();
712
let our_peer_storage = DecryptedOurPeerStorage::new(serialised_channels);
0 commit comments