Skip to content

Commit

Permalink
chore: increase gdk gap limit
Browse files Browse the repository at this point in the history
  • Loading branch information
jackstar12 committed Oct 19, 2024
1 parent 06de79e commit 83ab5b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions onchain/wallet/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 83ab5b2

Please sign in to comment.