mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 06:55:50 +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));
|
||||
if(!lt->makeTransaction())
|
||||
return JSONRPCError(500, "Insufficient funds in unlocked accounts");
|
||||
|
||||
// WRITEME - process transaction
|
||||
|
||||
lt->applyTransaction();
|
||||
return lt->getTransaction()->getJson(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user