Skip to content

Commit

Permalink
fixup! Enable spliting lightning channel
Browse files Browse the repository at this point in the history
  • Loading branch information
holzeis committed Nov 29, 2023
1 parent 342fecb commit 08c0c5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lightning/src/util/persist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ where
(&*entropy_source, &*signer_provider),
) {
Ok((block_hash, channel_monitor)) => {
if channel_monitor.get_funding_txo().0.txid != txid
|| channel_monitor.get_funding_txo().0.index != index
if channel_monitor.get_original_funding_txo().0.txid != txid
|| channel_monitor.get_original_funding_txo().0.index != index
{
return Err(io::Error::new(
io::ErrorKind::InvalidData,
Expand Down

0 comments on commit 08c0c5f

Please sign in to comment.