Skip to content

Commit d93e27e

Browse files
committed
Merge #733: Fix assets_tutorial.py signblock dynafed error
f302515 Fix assets_tutorial.py signblock dynafed error (wintercooled) Pull request description: Versions 0.18+ require a witnessScript argument for signblock unless the start arguments specify the ``con_dyna_deploy_start`` argument as ``0``. Tree-SHA512: cb12eaf7664868ad741a72188db8e5c6337e9376b48972698eda7c333afbaf8f99b138aadba3b877977a2b34d0a32551c6c0606e1836af2c41939b227dd58647
2 parents ed03bfc + f302515 commit d93e27e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/assets_tutorial/assets_tutorial.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,8 @@ def sync_all(e1, e2):
312312
signblockarg="-signblockscript=5221"+pubkey1+"21"+pubkey2+"52ae"
313313
# Anti-DoS argument, custom chain default is ~1 sig so let's make it at least 2 sigs
314314
blocksign_max_size="-con_max_block_sig_size=150"
315-
extra_args=signblockarg+" "+blocksign_max_size
315+
dyna_deploy_start="-con_dyna_deploy_start=0"
316+
extra_args=signblockarg+" "+blocksign_max_size+" "+dyna_deploy_start
316317

317318
# Wipe out datadirs, start over
318319
shutil.rmtree(e1_datadir)

0 commit comments

Comments
 (0)