mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
Remove an obsolete dispatch.
This commit is contained in:
@@ -66,12 +66,6 @@ SerializedTransaction::pointer TransactionMaster::fetch(SHAMapItem::ref item, SH
|
|||||||
return txn;
|
return txn;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void saveHelper(Transaction::pointer txn, LoadEvent::pointer l)
|
|
||||||
{
|
|
||||||
txn->save();
|
|
||||||
l.reset();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool TransactionMaster::canonicalize(Transaction::pointer& txn, bool may_be_new)
|
bool TransactionMaster::canonicalize(Transaction::pointer& txn, bool may_be_new)
|
||||||
{
|
{
|
||||||
uint256 tid = txn->getID();
|
uint256 tid = txn->getID();
|
||||||
@@ -82,8 +76,8 @@ bool TransactionMaster::canonicalize(Transaction::pointer& txn, bool may_be_new)
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (may_be_new)
|
if (may_be_new)
|
||||||
theApp->getAuxService().post(boost::bind(saveHelper, txn,
|
txn->save();
|
||||||
theApp->getJobQueue().getLoadEvent(jtDISK)));
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// vim:ts=4
|
// vim:ts=4
|
||||||
|
|||||||
Reference in New Issue
Block a user