invoices/sqldb: query by ChanID when updating AMP invoice preimage
This commit is contained in:
1 parent
e8c5e7d5ce
commit
f1b7953465
6 files changed
+14
-6
No files matched your search
@@ -1116,6 +1116,9 @@ func (s *sqlInvoiceUpdater) AddAmpHtlcPreimage(setID [32]byte,
|
||||
SetID: setID[:],
|
||||
HtlcID: int64(circuitKey.HtlcID),
|
||||
Preimage: preimage[:],
|
||||
ChanID: strconv.FormatUint(
|
||||
circuitKey.ChanID.ToUint64(), 10,
|
||||
),
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user