Fix get_accrued_batched_earnings missing "status": "OK"

Not having it broke wallet2.
This commit is contained in:
Jason Rhinelander 2023-01-10 22:22:44 -04:00
parent cf9f1c0823
commit c64c1c329a
No known key found for this signature in database
GPG Key ID: C4992CE7A88D4262
1 changed files with 2 additions and 0 deletions

View File

@ -3082,6 +3082,8 @@ namespace cryptonote::rpc {
if (!at_least_one_succeeded)
throw rpc_error{ERROR_WRONG_PARAM, "Failed to query any service nodes batched amounts at all"};
get_accrued_batched_earnings.response["status"] = STATUS_OK;
}
} // namespace cryptonote::rpc