mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
refactor: rename info() to header() (#6138)
This change renames all the `info()` functions to `header()`, since they return `LedgerHeader` structs. It also renames the underlying variables from `info_` to `header_`.
This commit is contained in:
@@ -217,7 +217,7 @@ public:
|
||||
if (BEAST_EXPECT(jrr.isMember(jss::ledger)))
|
||||
BEAST_EXPECT(
|
||||
jrr[jss::ledger][jss::ledger_hash] ==
|
||||
to_string(env.closed()->info().hash));
|
||||
to_string(env.closed()->header().hash));
|
||||
}
|
||||
{
|
||||
// Closed ledger with binary form
|
||||
|
||||
Reference in New Issue
Block a user