mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 21:45:52 +00:00
Disambiguate rpcSRC_ACT_NOT_FOUND errors so it's clear when it's the
secret that's at fault.
This commit is contained in:
@@ -251,7 +251,7 @@ Json::Value RPCHandler::transactionSign(Json::Value jvRequest, bool bSubmit)
|
||||
|
||||
if (!bFound)
|
||||
{
|
||||
return rpcError(rpcSRC_ACT_NOT_FOUND);
|
||||
return rpcError(rpcBAD_SECRET);
|
||||
}
|
||||
|
||||
// Use the generator to determine the associated public and private keys.
|
||||
|
||||
Reference in New Issue
Block a user