From bb1190cbbae695323e5d80eddc39ab81f95a5931 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Wed, 13 May 2020 19:10:27 -0400 Subject: [PATCH] use status abstraction instead of libstatus directly --- src/status/wallet.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/status/wallet.nim b/src/status/wallet.nim index 3b5e849173..6a6d604e5a 100644 --- a/src/status/wallet.nim +++ b/src/status/wallet.nim @@ -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)