Convert between json and hex representations of transactions and ledger entries on the XRP Ledger. Moved to: https://github.com/XRPLF/xrpl.js/tree/develop/packages/ripple-binary-codec
This PR throws an error when someone passes the code 585250 (or XRP) as a currency (which is disallowed in the spec). It also cleans up the code a bunch and removes an unused method.
This bug was uncovered via the xrpl-py repo, when someone raised an issue.
This PR throws an error when someone passes the code
585250
(orXRP
) as a currency (which is disallowed in the spec). It also cleans up the code a bunch and removes an unused method.This bug was uncovered via the xrpl-py repo, when someone raised an issue.