diff --git a/bot/src/main.rs b/bot/src/main.rs index 70534c30..96aced22 100644 --- a/bot/src/main.rs +++ b/bot/src/main.rs @@ -719,9 +719,10 @@ fn get_config() -> BoxResult { ) .arg( Arg::with_name("ignore_stake_distribution_errors") + .long("ignore-stake-distribution-errors") .required(false) .takes_value(false) - .help("If set, do not ") + .help("If set, do not fail when transactions fail while distributing stake") ) ) diff --git a/stake-o-matic.sh b/stake-o-matic.sh index 52362879..dfc37aa9 100755 --- a/stake-o-matic.sh +++ b/stake-o-matic.sh @@ -113,11 +113,11 @@ MAINNET_BETA_ARGS=( # shellcheck disable=SC2206 NOT_A_STAKE_POOL_ARGS=( stake-pool-v0 - $IGNORE_STAKE_DISTRIBUTION_ERRORS --min-reserve-stake-balance ${MIN_RESERVE_STAKE_BALANCE:?} ${RESERVE_ACCOUNT_ADDRESS:?} ${STAKE_AUTHORITY_KEYPAIR:?} ${BASELINE_STAKE_AMOUNT:?} + $IGNORE_STAKE_DISTRIBUTION_ERRORS ) # shellcheck disable=SC2206