Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterChen13579 committed Jun 20, 2023
1 parent 2eb175e commit e493534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ripple/rpc/handlers/GatewayBalances.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ doGatewayBalances(RPC::JsonContext& context)

result[jss::account] = toBase58(accountID);

if (!ledger->exists(keylet::account(accountID)) && context.apiVersion == 2)
if (!ledger->exists(keylet::account(accountID)) && context.apiVersion > 1)
{
RPC::inject_error(rpcACT_NOT_FOUND, result);
return result;
Expand Down

0 comments on commit e493534

Please sign in to comment.