From e21d8d6b9510b37d3374bd311bc35c1c689f8cce Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Thu, 7 Mar 2019 14:29:24 +0100 Subject: [PATCH] Fix error message for invalid voting addresses (#2747) --- src/rpc/rpcevo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/rpcevo.cpp b/src/rpc/rpcevo.cpp index ad4db55cc..a7271f9c0 100644 --- a/src/rpc/rpcevo.cpp +++ b/src/rpc/rpcevo.cpp @@ -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());