Skip to content

Commit 351df68

Browse files
committed
fixup: Handle PeerStorageRetrieval in ChannelManager
1 parent 5643873 commit 351df68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8338,7 +8338,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
83388338
}
83398339

83408340
let our_peerstorage_encryption_key = self.node_signer.get_peer_storage_key();
8341-
let our_peer_storage = OurPeerStorage::new(msg.data);
8341+
let our_peer_storage = OurPeerStorage::new(msg.data).unwrap();
83428342

83438343
match our_peer_storage.decrypt_our_peer_storage(our_peerstorage_encryption_key) {
83448344
Ok(decrypted_data) => {

0 commit comments

Comments
 (0)