Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

GetBalance account has to be "lowercase" #51

Closed
mickys opened this issue Oct 11, 2018 · 0 comments
Closed

GetBalance account has to be "lowercase" #51

mickys opened this issue Oct 11, 2018 · 0 comments
Assignees
Labels
bug Something isn't working in-progress

Comments

@mickys
Copy link
Contributor

mickys commented Oct 11, 2018

We should be able to pass addresses in any uppercase / lowercase / checksummed format.
Currently it only accepts lowercase addresses.

Available Accounts
=============================
(0) 17f343a7a13bac8026d6c84e2ee2925aeba1fa61 (Amt: 100000) (Nonce: 0)

call:

{ jsonrpc: '2.0', method: 'GetBalance', params: [ '17F343A7A13BAC8026D6C84E2EE2925AEBA1FA61' ],  id: 1 }

result:

{ id: 1, jsonrpc: '2.0', result: { balance: 0, nonce: 0 } }

EXPECTED result:

{ id: 1, jsonrpc: '2.0', result: { balance: 100000, nonce: 0 } }
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working in-progress
Projects
None yet
Development

No branches or pull requests

2 participants