Counter uses dispatcher to deduct fees from account
This commit is contained in:
@@ -70,8 +70,12 @@ test03AddCount() {
|
||||
HASH=$(echo $TX | jq .hash | tr -d \")
|
||||
TX_HEIGHT=$(echo $TX | jq .height)
|
||||
|
||||
# make sure the counter was updated
|
||||
checkCounter "1" "10"
|
||||
|
||||
# make sure the account was debited
|
||||
checkAccount $SENDER "2" "9007199254739990"
|
||||
|
||||
# make sure tx is indexed
|
||||
TX=$(${CLIENT_EXE} query tx $HASH --trace)
|
||||
if assertTrue "found tx" $?; then
|
||||
|
||||
Reference in New Issue
Block a user