We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca7d7b0 commit e90aa0cCopy full SHA for e90aa0c
stakingSeatBot.sh
@@ -186,7 +186,7 @@ then
186
NEW_STAKE_FORMATTED=`printf "%d%024d\n", $NEW_STAKE_WITH_BUFFER`
187
echo "New Stake Formatted: ${NEW_STAKE_FORMATTED:0:24}"
188
#STAKE_CMD="near stake "$POOL_ID" "$PUBLIC_KEY" "${SEAT_PRICE_PROPOSALS}" --accountId "$ACCOUNT_ID""
189
- STAKE_CMD="near call "$POOL_ID" stake '{\"amount\":"\"${SEAT_PRICE_PROPOSALS}\""}' --accountId "$ACCOUNT_ID""
+ STAKE_CMD="near call "$POOL_ID" unstake '{\"amount\":"\"${SEAT_PRICE_DIFF}\""}' --accountId "$ACCOUNT_ID""
190
echo "Stake CMD: $STAKE_CMD"
191
STAKE=`$STAKE_CMD`
192
echo "Stake updated $STAKE"
0 commit comments