We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca993f8 commit e5f51a7Copy full SHA for e5f51a7
lightning/src/ln/channelmanager.rs
@@ -8879,7 +8879,7 @@ where
8879
for (_, chan) in peer_state.channel_by_id.iter() {
8880
// Channels that were persisted have to be funded, otherwise they should have been
8881
// discarded.
8882
- let funding_txo = chan.context.get_funding_txo().ok_or(DecodeError::InvalidValue)?;
+ let funding_txo = chan.context.get_original_funding_txo().ok_or(DecodeError::InvalidValue)?;
8883
let monitor = args.channel_monitors.get(&funding_txo)
8884
.expect("We already checked for monitor presence when loading channels");
8885
let mut max_in_flight_update_id = monitor.get_latest_update_id();
0 commit comments