Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#730 Bug fix for proxy-cli #731

Merged
merged 1 commit into from
Apr 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions proxy-cli/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ def _solana_accounts_info(self, args):
ret_js['total_balance'] += acc_info_js['balance']
self._print(f"holder:")
for holder_account in acc_info_js['holder']:
self._print(f" {acc_info_js['address']} {acc_info_js['balance']:,.9f}")
self._print(f" {holder_account['address']} {holder_account['balance']:,.9f}")
ret_js['resource_balance'] += holder_account['balance']
self._print(f"storage:")
for storage_account in acc_info_js['storage']:
self._print(f" {acc_info_js['address']} {acc_info_js['balance']:,.9f}")
self._print(f" {storage_account['address']} {storage_account['balance']:,.9f}")
ret_js['resource_balance'] += storage_account['balance']

ret_js['accounts'].append(acc_info_js)
Expand Down