Skip to content

Commit

Permalink
Fix review's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
drlongle committed Jan 30, 2023
1 parent 2ea00a3 commit ff321d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/ripple/app/ledger/Ledger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ Ledger::Ledger(Ledger const& prevLedger, NetClock::time_point closeTime)
, stateMap_(prevLedger.stateMap_->snapShot(true))
, fees_(prevLedger.fees_)
, rules_(prevLedger.rules_)
, j_(beast::Journal(beast::Journal::getNullSink()))
{
info_.seq = prevLedger.info_.seq + 1;
info_.parentCloseTime = prevLedger.info_.closeTime;
Expand Down
2 changes: 1 addition & 1 deletion src/ripple/app/ledger/Ledger.h
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ class Ledger final : public std::enable_shared_from_this<Ledger>,
Fees fees_;
Rules rules_;
LedgerInfo info_;
beast::Journal j_ = beast::Journal(beast::Journal::getNullSink());
beast::Journal j_;
};

/** A ledger wrapped in a CachedView. */
Expand Down
2 changes: 1 addition & 1 deletion src/ripple/app/ledger/impl/OpenLedger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ debugTostr(SHAMap const& set)
}
catch (std::exception const& ex)
{
ss << "THRO:" << ex.what() << ", ";
ss << "THROW:" << ex.what() << ", ";
}
}
return ss.str();
Expand Down

0 comments on commit ff321d8

Please sign in to comment.