mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
Make 'tx' RPC command with no parameteres work. It displays all
"in progress" transactions that affect local accounts.
This commit is contained in:
@@ -393,6 +393,9 @@ Json::Value RPCServer::doTx(Json::Value& params)
|
||||
std::string param1, param2;
|
||||
if(!extractString(param1, params, 0))
|
||||
{ // all local transactions
|
||||
Json::Value ret(Json::objectValue);
|
||||
theApp->getWallet().addLocalTransactions(ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
if(Transaction::isHexTxID(param1))
|
||||
|
||||
Reference in New Issue
Block a user