Counter uses dispatcher to deduct fees from account

This commit is contained in:
Ethan Frey
2017-07-04 14:47:46 +02:00
parent 8003034bbb
commit 670e7b48d1
9 changed files with 92 additions and 29 deletions
+4
View File
@@ -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