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:
1 file changed
+1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user