Process local Txns.

This commit is contained in:
JoelKatz
2012-01-18 14:15:00 -08:00
parent efb9fd7e1f
commit 702a592b9c

View File

@@ -365,9 +365,7 @@ Json::Value RPCServer::doSendTo(Json::Value& params)
LocalTransaction::pointer lt(new LocalTransaction(destAccount, iAmount, iTag));
if(!lt->makeTransaction())
return JSONRPCError(500, "Insufficient funds in unlocked accounts");
// WRITEME - process transaction
lt->applyTransaction();
return lt->getTransaction()->getJson(true);
}