Skip to content

Commit 845b398

Browse files
committed
f fix wrong panic messages
1 parent 676d75f commit 845b398

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12919,11 +12919,11 @@ where
1291912919
let mut peer_state = per_peer_state
1292012920
.get(&counterparty_node_id)
1292112921
.map(|state| state.lock().unwrap())
12922-
.expect("Channels originating a preimage must have peer state");
12922+
.expect("Channels originating a payment resolution must have peer state");
1292312923
let update_id = peer_state
1292412924
.closed_channel_monitor_update_ids
1292512925
.get_mut(&channel_id)
12926-
.expect("Channels originating a preimage must have a monitor");
12926+
.expect("Channels originating a payment resolution must have a monitor");
1292712927
*update_id += 1;
1292812928

1292912929
let update = ChannelMonitorUpdate {

0 commit comments

Comments
 (0)