diff --git a/Cargo.lock b/Cargo.lock index 42c3ed2..9b66deb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -73,7 +73,7 @@ checksum = "c9d19de80eff169429ac1e9f48fffb163916b448a44e8e046186232046d9e1f9" [[package]] name = "atomicalsir" -version = "0.1.8" +version = "0.1.9" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index f657176..026feab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ license = "GPL-3.0" name = "atomicalsir" readme = "README.md" repository = "https://github.com/hack-ink/atomicalsir" -version = "0.1.8" +version = "0.1.9" [profile.ci-dev] incremental = false diff --git a/src/main.rs b/src/main.rs index 7af443a..33e2161 100644 --- a/src/main.rs +++ b/src/main.rs @@ -33,6 +33,7 @@ async fn main() -> Result<()> { let Cli { atomicals_js_dir, max_fee, no_unconfirmed_txs_check, stash, electrumx, strategy } = Cli::parse(); let wallets = Wallet::load_wallets(&atomicals_js_dir.join("wallets")); + let strategy = if no_unconfirmed_txs_check { Strategy::AverageFirst } else { strategy }; tracing::info!(""); tracing::info!("");