From 83ab5b2347bf9b0df10f8d41e6f08975514ab6b7 Mon Sep 17 00:00:00 2001 From: jackstar12 Date: Sat, 19 Oct 2024 18:37:26 +0200 Subject: [PATCH] chore: increase gdk gap limit --- onchain/wallet/wallet.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/onchain/wallet/wallet.go b/onchain/wallet/wallet.go index a47cbfb1..2f24e2e7 100644 --- a/onchain/wallet/wallet.go +++ b/onchain/wallet/wallet.go @@ -35,6 +35,7 @@ import ( const MinFeeRate = 0.01 const MaxInputs = uint64(256) const DefaultAutoConsolidateThreshold = uint64(200) +const GapLimit = 100 type TransactionNotification struct { TxId string @@ -343,6 +344,7 @@ func (wallet *Wallet) Connect() error { params := map[string]any{ // gdk uses sat/kVB "min_fee_rate": MinFeeRate * 1000, + "gap_limit": GapLimit, } var electrum onchain.ElectrumOptions if wallet.Currency == boltz.CurrencyBtc {