Skip to content

Commit

Permalink
hotfix: show xrp balance when hitting clio (#834)
Browse files Browse the repository at this point in the history
Clio moved the `signer_list` property for `account_info`. This is a
temporary fix and does not fix showing signer lists on an accounts page
but the balance is more important.
  • Loading branch information
ckniffen authored Sep 23, 2023
1 parent f029a7b commit 864761b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rippled/accountState.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const getAccountState = (account, rippledSocket) => {
info: formatAccountInfo(info, data[3].info.validated_ledger),
balances: data[0].balances,
tokens: data[0].tokens,
signerList: info.signer_lists[0]
signerList: info.signer_lists?.[0]
? formatSignerList(info.signer_lists[0])
: undefined,
escrows: data[1],
Expand Down

0 comments on commit 864761b

Please sign in to comment.