Issue Description
As per documentation, rippled should return invalidHotWallet error for the addresses specified in the hotwallet field is not the address of an account holding currency issued by the account from the request but there's no error.
Steps to Reproduce
{ "method": "gateway_balances", "params": [ { "account": "rPMeLRzDEBb2S8kSwynm1if6j6N58xQtv7", "hotwallet": [ "rH9pnDCtgAbFjozbZQuJWvPM8QHweXgZhj" ], "ledger_index": "validated", "strict": true } ] }
Expected Result
invalidHotWallet error
Actual Result
{ "result": { "account": "rPMeLRzDEBb2S8kSwynm1if6j6N58xQtv7", "ledger_hash": "5BE1CDF859C43FC387BDC1938FEF9A063ED6AD71A710CC9172D1443AD3CEDDBC", "ledger_index": 29061794, "obligations": { "USD": "9999999999999999e80" }, "status": "success", "validated": true } }
Environment
Supporting Files