Return account malformed error from account_tx when account is malformed (#319)

This commit is contained in:
CJ Cobb
2022-11-08 09:29:28 -05:00
committed by GitHub
parent fc68664b02
commit 1f900fcf7f

View File

@@ -223,7 +223,7 @@ getAccount(
return {};
}
return Status{Error::rpcINVALID_PARAMS, field.to_string() + "Malformed"};
return Status{Error::rpcACT_MALFORMED, field.to_string() + "Malformed"};
}
Status