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:
parent
22e1f006b1
commit
b3bd470962
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user