mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-28 19:55:20 +08:00
use generic virtualchain multisig script check
This commit is contained in:
@@ -200,7 +200,7 @@ def check_register( state_engine, nameop, block_id, checked_ops ):
|
||||
# if multisig is not enabled in this epoch, and the recipient
|
||||
# address is a p2sh address, then reject the transaction.
|
||||
# this if for compatibility with 0.13
|
||||
if virtualchain.is_p2sh_address( register_addr ) and not epoch_has_multisig( block_id ):
|
||||
if virtualchain.is_multisig_address( register_addr ) and not epoch_has_multisig( block_id ):
|
||||
log.debug("Multisig registration address %s, but this epoch (%s) does not support multisig" % (register_addr, get_epoch_number(block_id)))
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user