Update src/status/libstatus/accounts.nim
Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
This commit is contained in:
parent
aec77b65df
commit
86bc8a894b
|
@ -37,8 +37,6 @@ proc hashPassword*(password: string): string =
|
||||||
|
|
||||||
proc getDefaultAccount*(): string =
|
proc getDefaultAccount*(): string =
|
||||||
var response = callPrivateRPC("eth_accounts")
|
var response = callPrivateRPC("eth_accounts")
|
||||||
echo "========================== 2"
|
|
||||||
echo response
|
|
||||||
result = parseJson(response)["result"][0].getStr()
|
result = parseJson(response)["result"][0].getStr()
|
||||||
|
|
||||||
proc generateAddresses*(n = 5): seq[GeneratedAccount] =
|
proc generateAddresses*(n = 5): seq[GeneratedAccount] =
|
||||||
|
|
Loading…
Reference in New Issue