Resolve issue #135, support 0x on account queries

This commit is contained in:
Ethan Frey
2017-06-26 18:22:51 +02:00
parent 14c39e7312
commit f5a546894c
3 changed files with 24 additions and 20 deletions
+2
View File
@@ -39,6 +39,8 @@ test01SendTx() {
TX_HEIGHT=$(echo $TX | jq .height)
checkAccount $SENDER "1" "9007199254740000"
# make sure 0x prefix also works
checkAccount "0x$SENDER" "1" "9007199254740000"
checkAccount $RECV "0" "992"
# Make sure tx is indexed