Skip to content

Commit e21d8d6

Browse files
codablockUdjinM6
authored andcommitted
Fix error message for invalid voting addresses (#2747)
1 parent 80891ee commit e21d8d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rpc/rpcevo.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ UniValue protx_update_registrar(const JSONRPCRequest& request)
697697
ptx.pubKeyOperator = ParseBLSPubKey(request.params[2].get_str(), "operator BLS address");
698698
}
699699
if (request.params[3].get_str() != "") {
700-
ptx.keyIDVoting = ParsePubKeyIDFromAddress(request.params[3].get_str(), "operator address");
700+
ptx.keyIDVoting = ParsePubKeyIDFromAddress(request.params[3].get_str(), "voting address");
701701
}
702702

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

0 commit comments

Comments
 (0)