From b3bd470962860af0cf4840dfbf1f1fd39efcdc89 Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Mon, 6 Jan 2020 14:02:17 +0100 Subject: [PATCH] lnwallet: restore missing field in local log update When restoring an htlc fulfill update from disk, the payment hash wasn't restored previously. --- lnwallet/channel.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lnwallet/channel.go b/lnwallet/channel.go index 837f05cb..367e0407 100644 --- a/lnwallet/channel.go +++ b/lnwallet/channel.go @@ -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,