mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-20 13:27:27 +02:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue