We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4426fe6 commit 791bd39Copy full SHA for 791bd39
stacks-node/src/burnchains/rpc/bitcoin_rpc_client/mod.rs
@@ -586,8 +586,9 @@ impl BitcoinRpcClient {
586
max_fee_rate: Option<f64>,
587
max_burn_amount: Option<u64>,
588
) -> BitcoinRpcClientResult<Txid> {
589
+ const DEFAULT_FEE_RATE_BTC_KVB: f64 = 0.10;
590
let tx_hex = serialize_hex(tx)?;
- let max_fee_rate = max_fee_rate.unwrap_or(0.10);
591
+ let max_fee_rate = max_fee_rate.unwrap_or(DEFAULT_FEE_RATE_BTC_KVB);
592
let max_burn_amount = max_burn_amount.unwrap_or(0);
593
594
let response = self.global_ep.send::<TxidWrapperResponse>(
0 commit comments