Conversation
|
The changes to To continue providing help output after this command is rendered moot would only serve to introduce confusion. |
|
@Fuzzbawls That change renders this error from occurring moving forward. Considering it will be depreciated, it is still in use now |
|
oh you mean the overall help list... in that case, this would be more optimal at the top of the function: Index: src/rpc/masternode.cpp
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/src/rpc/masternode.cpp b/src/rpc/masternode.cpp
--- a/src/rpc/masternode.cpp (revision 59e4c1acb092abc46b825fd461a86fef0e80bd71)
+++ b/src/rpc/masternode.cpp (date 1677928321976)
@@ -410,7 +410,11 @@
{
// Skip after legacy obsolete. !TODO: remove when transition to DMN is complete
if (deterministicMNManager->LegacyMNObsolete()) {
- throw JSONRPCError(RPC_MISC_ERROR, "startmasternode is not supported when deterministic masternode list is active (DIP3)");
+ if (request.fHelp) {
+ throw std::runtime_error("startmasternode (deprecated and no longer functional)");
+ } else {
+ throw JSONRPCError(RPC_MISC_ERROR, "startmasternode is not supported when deterministic masternode list is active (DIP3)");
+ }
}
CWallet * const pwallet = GetWalletForJSONRPCRequest(request); |
|
Okay yes I agree in this change accounting for the help request, and yes also help fixing was the intended solution. |
|
updated to suggested change which is indeed cleaner, by the way don't tACK PR has still TODO to be done |
if you intend to keep this PR open whilst further changes are pending or "in discovery", either add |
|
btw, Draft or [WIP] status/notation should not discourage anyone from giving review feedback if they notice something that should be changed, but should avoid the ACK/tACK stamp of approval on something that is clearly not finalized just yet. |
The aim of this PR is fixing all the bugs (mostly are trivial) that we are finding while testing the v6.0
Bugs found:
TODO (BUGS That still must be solved):
keep finding more bugs