mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 09:17:57 +00:00
Process local Txns.
This commit is contained in:
@@ -365,9 +365,7 @@ Json::Value RPCServer::doSendTo(Json::Value& params)
|
|||||||
LocalTransaction::pointer lt(new LocalTransaction(destAccount, iAmount, iTag));
|
LocalTransaction::pointer lt(new LocalTransaction(destAccount, iAmount, iTag));
|
||||||
if(!lt->makeTransaction())
|
if(!lt->makeTransaction())
|
||||||
return JSONRPCError(500, "Insufficient funds in unlocked accounts");
|
return JSONRPCError(500, "Insufficient funds in unlocked accounts");
|
||||||
|
lt->applyTransaction();
|
||||||
// WRITEME - process transaction
|
|
||||||
|
|
||||||
return lt->getTransaction()->getJson(true);
|
return lt->getTransaction()->getJson(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user