diff options
author | Anthony Towns <aj@erisian.com.au> | 2021-01-13 11:56:06 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2021-02-07 06:50:11 +1000 |
commit | a383ce5b4add6cdf4e9974527b609a1147a0d972 (patch) | |
tree | e5a55094643329704e1002e96fd4a07df66d27b0 /contrib | |
parent | 1a45cd2e51214f81442a5f9bf16612100adaf5b8 (diff) |
contrib/signet/miner: --grind-cmd is required for calibrate
Thanks to muxator for spotting.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/signet/miner | 2 |
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:]) |