Skip to content

Conversation

@lucasjones
Copy link
Contributor

Fixes a bug causing the admin dashboard to throw an error, when the wallet has an account name which is an integer (e.g. "1").

This is caused by json_decode decoding the account name as an integer, rather than a string, which is passed to getaddressesbyaccount. This causes the page to throw an error, as the daemon only accepts string values for account names.

Fixes a bug causing the admin dashboard to throw an error, when the wallet has an account name which is an integer (e.g. "1").

This is caused by json_decode decoding the account address as an integer, which is passed to getaddressesbyaccount, throwing an error (as the daemon only accepts string values for account names).
@TheSerapher
Copy link
Contributor

Thanks for that!

TheSerapher added a commit that referenced this pull request Mar 28, 2014
@TheSerapher TheSerapher merged commit a70d6af into MPOS:development Mar 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants