Skip to content

Commit

Permalink
bot: Fix ignore_errors flag
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-at-planetariummusic committed Jun 5, 2023
1 parent 158375f commit 9fdf52a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bot/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -719,9 +719,10 @@ fn get_config() -> BoxResult<GetConfigResult> {
)
.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")

)
)
Expand Down
2 changes: 1 addition & 1 deletion stake-o-matic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9fdf52a

Please sign in to comment.