lnwallet: restore missing field in local log update

When restoring an htlc fulfill update from disk, the payment hash wasn't
restored previously.
This commit is contained in:
Joost Jager 2020-01-06 14:02:17 +01:00
parent 22e1f006b1
commit b3bd470962
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

@ -1564,6 +1564,7 @@ func (lc *LightningChannel) logUpdateToPayDesc(logUpdate *channeldb.LogUpdate,
pd = &PaymentDescriptor{
Amount: ogHTLC.Amount,
RHash: ogHTLC.RHash,
RPreimage: wireMsg.PaymentPreimage,
LogIndex: logUpdate.LogIndex,
ParentIndex: ogHTLC.HtlcIndex,