mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 00:36:48 +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:
@@ -1027,7 +1027,7 @@ class Simulate_test : public beast::unit_test::suite
|
||||
|
||||
auto jv = credentials::create(subject, issuer, credType);
|
||||
uint32_t const t =
|
||||
env.current()->info().parentCloseTime.time_since_epoch().count();
|
||||
env.current()->header().parentCloseTime.time_since_epoch().count();
|
||||
jv[sfExpiration.jsonName] = t;
|
||||
env(jv);
|
||||
env.close();
|
||||
|
||||
Reference in New Issue
Block a user