Closed natenichols closed 3 years ago
Fixes #132.
When rippled decodes Uint64's, it removes leading zeros. This causes issues when encoding JSON objects with ripple-binary-codec.
rippled
This PR allows for Uint64's to be hex strings with length 0-16, and then pads leading zeros up to length 16.
Adds tests for ledger entries described in #132
High Level Overview of Change
Fixes #132.
When
rippled
decodes Uint64's, it removes leading zeros. This causes issues when encoding JSON objects with ripple-binary-codec.Context of Change
This PR allows for Uint64's to be hex strings with length 0-16, and then pads leading zeros up to length 16.
Type of Change
Testing
Adds tests for ledger entries described in #132