Skip to content

Commit

Permalink
Lower DEFAULT_BITCOIN_CONFIRMATION_TARGET to 1 to ensure timely confi…
Browse files Browse the repository at this point in the history
…rmation of bitcoin transactions (#1640)
  • Loading branch information
binarybaron authored May 24, 2024
1 parent 838a7ab commit 0c4b7d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swap/src/cli/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const DEFAULT_ELECTRUM_RPC_URL: &str = "ssl://blockstream.info:700";
// See: https://1209k.com/bitcoin-eye/ele.php?chain=tbtc
pub const DEFAULT_ELECTRUM_RPC_URL_TESTNET: &str = "ssl://electrum.blockstream.info:60002";

const DEFAULT_BITCOIN_CONFIRMATION_TARGET: usize = 3;
const DEFAULT_BITCOIN_CONFIRMATION_TARGET: usize = 1;
pub const DEFAULT_BITCOIN_CONFIRMATION_TARGET_TESTNET: usize = 1;

const DEFAULT_TOR_SOCKS5_PORT: &str = "9050";
Expand Down

0 comments on commit 0c4b7d5

Please sign in to comment.