Integrate dispatcher into app, and fix tests

This commit is contained in:
Ethan Frey
2017-07-04 12:46:57 +02:00
parent fcab8ac901
commit 473451f020
7 changed files with 75 additions and 8 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ checkSendTx() {
CTX=$(echo $TX | jq .data.data.tx)
assertEquals "type=chain" '"chain"' $(echo $CTX | jq .type)
STX=$(echo $CTX | jq .data.tx)
assertEquals "type=send" '"send"' $(echo $STX | jq .type)
assertEquals "type=coin/send" '"coin/send"' $(echo $STX | jq .type)
assertEquals "proper sender" "\"$3\"" $(echo $STX | jq .data.inputs[0].address.addr)
assertEquals "proper out amount" "$4" $(echo $STX | jq .data.outputs[0].coins[0].amount)
return $?