aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/signet/miner2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/signet/miner b/contrib/signet/miner
index ecfbd9d766..0c1a4ac12d 100755
--- a/contrib/signet/miner
+++ b/contrib/signet/miner
@@ -605,7 +605,7 @@ def main():
sp.add_argument("--descriptor", default=None, type=str, help="Descriptor for block reward payment")
for sp in [solvepsbt, generate, calibrate]:
- sp.add_argument("--grind-cmd", default=None, type=str, help="Command to grind a block header for proof-of-work")
+ sp.add_argument("--grind-cmd", default=None, type=str, required=(sp==calibrate), help="Command to grind a block header for proof-of-work")
args = parser.parse_args(sys.argv[1:])