Skip to content

Commit a383ce5

Browse files
committed
contrib/signet/miner: --grind-cmd is required for calibrate
Thanks to muxator for spotting.
1 parent 1a45cd2 commit a383ce5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/signet/miner

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ def main():
605605
sp.add_argument("--descriptor", default=None, type=str, help="Descriptor for block reward payment")
606606

607607
for sp in [solvepsbt, generate, calibrate]:
608-
sp.add_argument("--grind-cmd", default=None, type=str, help="Command to grind a block header for proof-of-work")
608+
sp.add_argument("--grind-cmd", default=None, type=str, required=(sp==calibrate), help="Command to grind a block header for proof-of-work")
609609

610610
args = parser.parse_args(sys.argv[1:])
611611

0 commit comments

Comments
 (0)