mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-03 10:05:51 +00:00
Return malformedOwner for deposit_preauth.owner in ledger_entry (#345)
Fixes #273
This commit is contained in:
@@ -78,7 +78,7 @@ doLedgerEntry(Context const& context)
|
|||||||
.at(JS(owner))
|
.at(JS(owner))
|
||||||
.is_string())
|
.is_string())
|
||||||
{
|
{
|
||||||
return Status{Error::rpcINVALID_PARAMS, "ownerNotString"};
|
return Status{Error::rpcINVALID_PARAMS, "malformedOwner"};
|
||||||
}
|
}
|
||||||
else if (
|
else if (
|
||||||
!request.at(JS(deposit_preauth))
|
!request.at(JS(deposit_preauth))
|
||||||
|
|||||||
Reference in New Issue
Block a user