@@ -665,13 +665,13 @@ static UniValue protx_register_common_wrapper(const JSONRPCRequest& request,
665
665
}
666
666
ptx.platformNodeID .SetHex (request.params [paramIdx + 6 ].get_str ());
667
667
668
- int32_t requestedPlatformP2PPort = ParseInt32V (request.params [paramIdx + 7 ]. get_str () , " platformP2PPort" );
668
+ int32_t requestedPlatformP2PPort = ParseInt32V (request.params [paramIdx + 7 ], " platformP2PPort" );
669
669
if (!ValidatePlatformPort (requestedPlatformP2PPort)) {
670
670
throw JSONRPCError (RPC_INVALID_PARAMETER, " platformP2PPort must be a valid port [1-65535]" );
671
671
}
672
672
ptx.platformP2PPort = static_cast <uint16_t >(requestedPlatformP2PPort);
673
673
674
- int32_t requestedPlatformHTTPPort = ParseInt32V (request.params [paramIdx + 8 ]. get_str () , " platformHTTPPort" );
674
+ int32_t requestedPlatformHTTPPort = ParseInt32V (request.params [paramIdx + 8 ], " platformHTTPPort" );
675
675
if (!ValidatePlatformPort (requestedPlatformHTTPPort)) {
676
676
throw JSONRPCError (RPC_INVALID_PARAMETER, " platformHTTPPort must be a valid port [1-65535]" );
677
677
}
@@ -899,13 +899,13 @@ static UniValue protx_update_service_common_wrapper(const JSONRPCRequest& reques
899
899
}
900
900
ptx.platformNodeID .SetHex (request.params [paramIdx].get_str ());
901
901
902
- int32_t requestedPlatformP2PPort = ParseInt32V (request.params [paramIdx + 1 ]. get_str () , " platformP2PPort" );
902
+ int32_t requestedPlatformP2PPort = ParseInt32V (request.params [paramIdx + 1 ], " platformP2PPort" );
903
903
if (!ValidatePlatformPort (requestedPlatformP2PPort)) {
904
904
throw JSONRPCError (RPC_INVALID_PARAMETER, " platformP2PPort must be a valid port [1-65535]" );
905
905
}
906
906
ptx.platformP2PPort = static_cast <uint16_t >(requestedPlatformP2PPort);
907
907
908
- int32_t requestedPlatformHTTPPort = ParseInt32V (request.params [paramIdx + 2 ]. get_str () , " platformHTTPPort" );
908
+ int32_t requestedPlatformHTTPPort = ParseInt32V (request.params [paramIdx + 2 ], " platformHTTPPort" );
909
909
if (!ValidatePlatformPort (requestedPlatformHTTPPort)) {
910
910
throw JSONRPCError (RPC_INVALID_PARAMETER, " platformHTTPPort must be a valid port [1-65535]" );
911
911
}
@@ -1478,6 +1478,7 @@ static UniValue protx_diff(const JSONRPCRequest& request)
1478
1478
" update_service - Create and send ProUpServTx to network\n "
1479
1479
" update_service_hpmn - Create and send ProUpServTx to network for a HPMN\n "
1480
1480
" update_registrar - Create and send ProUpRegTx to network\n "
1481
+ " update_registrar_legacy - Create ProUpRegTx by parsing BLS using the legacy scheme, then send it to network\n "
1481
1482
" revoke - Create and send ProUpRevTx to network\n "
1482
1483
#endif
1483
1484
" diff - Calculate a diff and a proof between two masternode lists\n " ,
0 commit comments