use status abstraction instead of libstatus directly

This commit is contained in:
Iuri Matias 2020-05-13 19:10:27 -04:00
parent 18db5dc145
commit bb1190cbba
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import libstatus
import core as status
import json
import utils
import httpclient, json
@ -23,7 +23,7 @@ proc getBalance*(address: string): string =
"latest"
]
}
parseJson($libstatus.callPrivateRPC($payload))["result"].str
parseJson(status.callPrivateRPC($payload))["result"].str
proc hex2Eth*(input: string): string =
var value = fromHex(Stuint[256], input)