mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Devirtualize HashRouter
* Include some simple renames
This commit is contained in:
committed by
Nik Bougalis
parent
d69285f6ad
commit
0d7cad8d64
@@ -27,7 +27,7 @@
|
||||
#include <ripple/app/ledger/OrderBookDB.h>
|
||||
#include <ripple/app/ledger/PendingSaves.h>
|
||||
#include <ripple/app/main/Application.h>
|
||||
#include <ripple/app/misc/IHashRouter.h>
|
||||
#include <ripple/app/misc/HashRouter.h>
|
||||
#include <ripple/app/misc/NetworkOPs.h>
|
||||
#include <ripple/app/tx/TransactionMaster.h>
|
||||
#include <ripple/basics/contract.h>
|
||||
@@ -1294,7 +1294,7 @@ void Ledger::updateSkipList ()
|
||||
*/
|
||||
bool Ledger::pendSaveValidated (bool isSynchronous, bool isCurrent)
|
||||
{
|
||||
if (!getApp().getHashRouter ().setFlag (getHash (), SF_SAVED))
|
||||
if (!getApp().getHashRouter ().setFlags (getHash (), SF_SAVED))
|
||||
{
|
||||
WriteLog (lsDEBUG, Ledger) << "Double pend save for " << info().seq;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user