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:
@@ -57,7 +57,10 @@ class NFTokenBaseUtil_test : public beast::unit_test::suite
|
||||
std::uint32_t
|
||||
lastClose(test::jtx::Env& env)
|
||||
{
|
||||
return env.current()->info().parentCloseTime.time_since_epoch().count();
|
||||
return env.current()
|
||||
->header()
|
||||
.parentCloseTime.time_since_epoch()
|
||||
.count();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user