mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Don't sign a transaction for non-admin when too busy.
This commit is contained in:
@@ -60,7 +60,7 @@ RPCHandler::RPCHandler (NetworkOPs* netOps, InfoSub::pointer infoSub) : mNetOps
|
||||
|
||||
Json::Value RPCHandler::transactionSign (Json::Value params, bool bSubmit, bool bFailHard, ScopedLock& mlh)
|
||||
{
|
||||
if (theApp()->getFeeTrack().isLoaded() && (mRole != ADMIN))
|
||||
if (theApp->getFeeTrack().isLoaded() && (mRole != ADMIN))
|
||||
return rpcError(rpcTOO_BUSY);
|
||||
|
||||
Json::Value jvResult;
|
||||
|
||||
Reference in New Issue
Block a user