mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 08:46:46 +00:00
refactor: rename LedgerInfo to LedgerHeader (#6136)
This PR renames `LedgerInfo` to `LedgerHeader`. Namely, `LedgerInfo` was already an alias for `LedgerHeader`, and the comments next to the alias suggested that it would make sense to rename it, since that makes it clearer what it is.
This commit is contained in:
@@ -38,7 +38,7 @@ using namespace ripple::test;
|
||||
using namespace ripple::test::jtx;
|
||||
|
||||
static uint256
|
||||
ledgerHash(LedgerInfo const& info)
|
||||
ledgerHash(LedgerHeader const& info)
|
||||
{
|
||||
return ripple::sha512Half(
|
||||
HashPrefix::ledgerMaster,
|
||||
@@ -252,7 +252,7 @@ public:
|
||||
|
||||
for (int i = 0; i < n; i++)
|
||||
{
|
||||
LedgerInfo info;
|
||||
LedgerHeader info;
|
||||
info.seq = i;
|
||||
info.parentCloseTime = ct;
|
||||
info.hash = ripple::sha512Half(i);
|
||||
|
||||
Reference in New Issue
Block a user