diff --git a/src/rpc/rpcevo.cpp b/src/rpc/rpcevo.cpp index 2704854902..9f18ad322a 100644 --- a/src/rpc/rpcevo.cpp +++ b/src/rpc/rpcevo.cpp @@ -642,7 +642,7 @@ UniValue protx_update_service(const JSONRPCRequest& request) EnsureWalletIsUnlocked(pwallet); CProUpServTx ptx; - ptx.nVersion = CProRegTx::CURRENT_VERSION; + ptx.nVersion = CProUpServTx::CURRENT_VERSION; ptx.proTxHash = ParseHashV(request.params[1], "proTxHash"); if (!Lookup(request.params[2].get_str().c_str(), ptx.addr, Params().GetDefaultPort(), false)) { @@ -740,7 +740,7 @@ UniValue protx_update_registrar(const JSONRPCRequest& request) EnsureWalletIsUnlocked(pwallet); CProUpRegTx ptx; - ptx.nVersion = CProRegTx::CURRENT_VERSION; + ptx.nVersion = CProUpRegTx::CURRENT_VERSION; ptx.proTxHash = ParseHashV(request.params[1], "proTxHash"); auto dmn = deterministicMNManager->GetListAtChainTip().GetMN(ptx.proTxHash); @@ -830,7 +830,7 @@ UniValue protx_revoke(const JSONRPCRequest& request) EnsureWalletIsUnlocked(pwallet); CProUpRevTx ptx; - ptx.nVersion = CProRegTx::CURRENT_VERSION; + ptx.nVersion = CProUpRevTx::CURRENT_VERSION; ptx.proTxHash = ParseHashV(request.params[1], "proTxHash"); CBLSSecretKey keyOperator = ParseBLSSecretKey(request.params[2].get_str(), "operatorKey");