mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-18 22:34:22 +01:00
fix missing column in open_channel_htlc
This commit is contained in:
@@ -271,11 +271,12 @@ func (i *Interceptor) Intercept(req common.InterceptRequest) common.InterceptRes
|
|||||||
// Don't break here, this is not critical.
|
// Don't break here, this is not critical.
|
||||||
log.Printf(
|
log.Printf(
|
||||||
"paymentHash: %s, failed to insert htlc used for channel open in history store: channel: %v,"+
|
"paymentHash: %s, failed to insert htlc used for channel open in history store: channel: %v,"+
|
||||||
" original amount: %v, forward amount: %v",
|
" original amount: %v, forward amount: %v, error: %v",
|
||||||
reqPaymentHashStr,
|
reqPaymentHashStr,
|
||||||
channelPoint.String(),
|
channelPoint.String(),
|
||||||
req.OutgoingAmountMsat,
|
req.OutgoingAmountMsat,
|
||||||
amt,
|
amt,
|
||||||
|
err,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
ALTER TABLE public.open_channel_htlcs
|
||||||
|
DROP COLUMN incoming_amt_msat;
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
ALTER TABLE public.open_channel_htlcs
|
||||||
|
ADD COLUMN incoming_amt_msat bigint NOT NULL;
|
||||||
Reference in New Issue
Block a user