Skip to content

Commit

Permalink
fixed dockernet
Browse files Browse the repository at this point in the history
  • Loading branch information
sampocs committed Jan 26, 2024
1 parent b94bab6 commit 35043da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dockernet/scripts/staketia/reinvest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ HOST_DENOM=$(GET_VAR_VALUE ${HOST_CHAIN}_DENOM)

reward_address=$($HOST_MAIN_CMD keys show -a reward)
deposit_address=$($STRIDE_MAIN_CMD keys show -a deposit)
fee_address=$($STRIDE_MAIN_CMD q staketia host-zone | grep fee_address | awk '{print $2}')
fee_address=$($STRIDE_MAIN_CMD q auth module-account staketia_fee_address | grep "address:" | awk '{print $2}')

echo ">>> Claiming outstanding rewards records..."
$HOST_MAIN_CMD tx distribution withdraw-all-rewards --from delegation -y | TRIM_TX
Expand Down
2 changes: 1 addition & 1 deletion dockernet/src/create_logs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ while true; do
deposit_address=$($STRIDE_MAIN_CMD keys show -a deposit)
redemption_address=$($STRIDE_MAIN_CMD keys show -a redemption)
claim_address=$($STRIDE_MAIN_CMD keys show -a claim)
fee_address=$($STRIDE_MAIN_CMD q staketia host-zone | grep fee_address | awk '{print $2}')
fee_address=$($STRIDE_MAIN_CMD q auth module-account staketia_fee_address | grep "address:" | awk '{print $2}')

print_stride_balance $deposit_address "DEPOSIT"
print_stride_balance $redemption_address "REDEMPTION"
Expand Down

0 comments on commit 35043da

Please sign in to comment.