mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-18 14:24:21 +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.
|
||||
log.Printf(
|
||||
"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,
|
||||
channelPoint.String(),
|
||||
req.OutgoingAmountMsat,
|
||||
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