mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Fix error message for invalid voting addresses (#2747)
This commit is contained in:
parent
25222b3786
commit
6374dce99e
@ -693,7 +693,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());
|
||||
|
Loading…
Reference in New Issue
Block a user