Skip to content

Commit

Permalink
Fix error message for invalid voting addresses (#2747)
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock authored and UdjinM6 committed Mar 7, 2019
1 parent 80891ee commit e21d8d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/rpcevo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ UniValue protx_update_registrar(const JSONRPCRequest& request)
ptx.pubKeyOperator = ParseBLSPubKey(request.params[2].get_str(), "operator BLS address");
}
if (request.params[3].get_str() != "") {
ptx.keyIDVoting = ParsePubKeyIDFromAddress(request.params[3].get_str(), "operator address");
ptx.keyIDVoting = ParsePubKeyIDFromAddress(request.params[3].get_str(), "voting address");
}

CBitcoinAddress payoutAddress(request.params[4].get_str());
Expand Down

0 comments on commit e21d8d6

Please sign in to comment.