mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-06 10:16:45 +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:
@@ -436,7 +436,7 @@ struct Directory_test : public beast::unit_test::suite
|
||||
// exist
|
||||
env(offer(alice, XRP(1), USD(1)));
|
||||
auto const txID = to_string(env.tx()->getTransactionID());
|
||||
auto const ledgerSeq = env.current()->info().seq;
|
||||
auto const ledgerSeq = env.current()->header().seq;
|
||||
env.close();
|
||||
// Make sure the fields only exist if the object is touched
|
||||
env(noop(gw));
|
||||
|
||||
Reference in New Issue
Block a user