Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
popm: change minRelayFee into a local const
  • Loading branch information
AL-CT committed Jul 22, 2025
commit 13795259854c8953d3f3e4337b4d3e104059dc55
4 changes: 1 addition & 3 deletions service/popm/popm.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import (
"github.com/btcsuite/btcd/btcutil/hdkeychain"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash"
btcmempool "github.com/btcsuite/btcd/mempool"
"github.com/btcsuite/btcd/wire"
"github.com/ethereum/go-ethereum/ethclient"
"github.com/juju/loggo"
Expand Down Expand Up @@ -54,8 +53,7 @@ const (
defaultL2KeystonePollTimeout = 13 * time.Second
defaultL2KeystoneRetryTimeout = 15 * time.Second

// convert btcd minimum fee from sat/kB to sat/byte
minRelayFee = uint(btcmempool.DefaultMinRelayTxFee) / 1000
minRelayFee = 1 // sats/vB
)

var log = loggo.GetLogger("popm")
Expand Down