lnwallet: mark HTLCs modified for updates restored in restoreStageLogs
This commit is contained in:
parent
1f1f22cfe8
commit
b6d046ad84
@ -1773,9 +1773,12 @@ func (lc *LightningChannel) restoreStateLogs(
|
|||||||
"%v vs %v", payDesc.HtlcIndex,
|
"%v vs %v", payDesc.HtlcIndex,
|
||||||
lc.localUpdateLog.htlcCounter))
|
lc.localUpdateLog.htlcCounter))
|
||||||
}
|
}
|
||||||
|
|
||||||
lc.localUpdateLog.appendHtlc(payDesc)
|
lc.localUpdateLog.appendHtlc(payDesc)
|
||||||
} else {
|
} else {
|
||||||
lc.localUpdateLog.appendUpdate(payDesc)
|
lc.localUpdateLog.appendUpdate(payDesc)
|
||||||
|
|
||||||
|
lc.remoteUpdateLog.markHtlcModified(payDesc.ParentIndex)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user