Skip to content

Commit

Permalink
replace unnecessary bash math syntax with direct variable mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Scitz0 committed Aug 1, 2024
1 parent 87cf463 commit 9757078
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/cnode-helper-scripts/cntools.library
Original file line number Diff line number Diff line change
Expand Up @@ -2660,7 +2660,7 @@ delegate() {
)
fi

tmpNewBalance=$(( base_lovelace ))
tmpNewBalance=${base_lovelace}
build_args=(
${tx_in}
"${script_args[@]}"
Expand Down Expand Up @@ -3058,7 +3058,7 @@ modifyPool() {

getAssetsTxOut

tmpNewBalance=$(( base_lovelace ))
tmpNewBalance=${base_lovelace}
build_args=(
${tx_in}
"${script_args[@]}"
Expand Down Expand Up @@ -3839,7 +3839,7 @@ voteDelegation() {
)
fi

tmpNewBalance=$(( base_lovelace ))
tmpNewBalance=${base_lovelace}
build_args=(
${tx_in}
"${script_args[@]}"
Expand Down Expand Up @@ -3955,7 +3955,7 @@ registerDRep() {
if [[ ${is_update} = N ]]; then
tmpNewBalance=$(( base_lovelace - DREP_DEPOSIT ))
else
tmpNewBalance=$(( base_lovelace ))
tmpNewBalance=${base_lovelace}
fi

build_args=(
Expand Down

0 comments on commit 9757078

Please sign in to comment.