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

Update the description of invalidHotWallet for gateway_balances #2949

Open
cindyyan317 opened this issue Jan 17, 2025 · 0 comments
Open

Update the description of invalidHotWallet for gateway_balances #2949

cindyyan317 opened this issue Jan 17, 2025 · 0 comments

Comments

@cindyyan317
Copy link

Related PR:
XRPLF/clio#1830

Code snippet:
https://github.com/XRPLF/rippled/blob/develop/src/xrpld/rpc/handlers/GatewayBalances.cpp#L129

rippled does not check the trustline of hotwallet. In PR1830, Clio also removed such check. hot wallet's balance can be 0 sometimes.

When format of hotwallet field is invalid:
api version 1 returns invalidHotWallet
api version >1 returns invalidParams

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

No branches or pull requests

1 participant