mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-30 02:20:39 +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:
@@ -112,7 +112,7 @@ public:
|
||||
jvn[jss::TransactionType] = jss::AccountSet;
|
||||
jvn[jss::Fee] = to_string(env.current()->fees().base);
|
||||
jvn[jss::Sequence] = env.seq(alice);
|
||||
jvn[jss::LastLedgerSequence] = env.current()->info().seq + 2;
|
||||
jvn[jss::LastLedgerSequence] = env.current()->header().seq + 2;
|
||||
auto jt = env.jtnofill(jvn);
|
||||
Serializer s;
|
||||
jt.stx->add(s);
|
||||
|
||||
Reference in New Issue
Block a user