You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's because ledger_index is a string. I'm only reporting this because in responses, ledger_index is also given as a string, which is if nothing else inconsistent.
The text was updated successfully, but these errors were encountered:
The response now has a top-level ledger_index field containing the ledger index as an unsigned integral type.
However it remains true that the response also contains a ledger object which itself has a duplicate ledger_index containing the numeric value as a string type. This can not be changed for the current rippled API for backwards compatibility reasons. However a future ("versioned") API may change this aspect.
It took a while until I figured out why the following doesn't work right (it simply returns some default current ledger response):
It's because ledger_index is a string. I'm only reporting this because in responses, ledger_index is also given as a string, which is if nothing else inconsistent.
The text was updated successfully, but these errors were encountered: