Call NetworkOPs::pubTransaction.

This commit is contained in:
JoelKatz
2012-06-27 20:39:00 -07:00
parent e383a59b5e
commit 7d2e55346f
6 changed files with 34 additions and 11 deletions

View File

@@ -91,4 +91,14 @@ Ledger::pointer LedgerMaster::endWobble()
return ret;
}
TransactionEngineResult LedgerMaster::doTransaction(const SerializedTransaction& txn, uint32 targetLedger,
TransactionEngineParams params)
{
Ledger::pointer ledger = mEngine.getTransactionLedger(targetLedger);
TransactionEngineResult result = mEngine.applyTransaction(txn, params, ledger);
theApp->getOPs().pubTransaction(ledger, txn, result);
return result;
}
// vim:ts=4