Remove an obsolete dispatch.

This commit is contained in:
JoelKatz
2013-01-29 14:29:41 -08:00
parent 6b4141f583
commit 14297a4ee1

View File

@@ -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