Skip to content

Commit

Permalink
Fix get_accrued_batched_earnings missing "status": "OK"
Browse files Browse the repository at this point in the history
Not having it broke wallet2.
  • Loading branch information
jagerman committed Jan 11, 2023
1 parent cf9f1c0 commit c64c1c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rpc/core_rpc_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c64c1c3

Please sign in to comment.