Skip to content

[gateway_balances with unassociated hotwallet account do not return an error] (Version: [1.11.0-rc2]) #4549

@mounikakun

Description

@mounikakun

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions