From 42fae0b8434b4943220b82ae8c518f2f68d9af1c Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Thu, 7 Mar 2019 10:14:50 +0100 Subject: [PATCH] Fix error message for invalid voting addresses --- 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 ad4db55cc821..a7271f9c06ce 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());