lnwallet: mark HTLCs modified for updates restored in restoreStageLogs

This commit is contained in:
Olaoluwa Osuntokun 2018-05-25 18:39:16 -07:00
parent 1f1f22cfe8
commit b6d046ad84
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -1773,9 +1773,12 @@ func (lc *LightningChannel) restoreStateLogs(
"%v vs %v", payDesc.HtlcIndex,
lc.localUpdateLog.htlcCounter))
}
lc.localUpdateLog.appendHtlc(payDesc)
} else {
lc.localUpdateLog.appendUpdate(payDesc)
lc.remoteUpdateLog.markHtlcModified(payDesc.ParentIndex)
}
}