mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-24 03:45:38 +08:00
op_fee can be None, if it is not given
This commit is contained in:
@@ -310,7 +310,7 @@ def check_register( state_engine, nameop, block_id, checked_ops ):
|
||||
return False
|
||||
|
||||
# fee borne by the renewal
|
||||
if not 'op_fee' in nameop:
|
||||
if not 'op_fee' in nameop or nameop['op_fee'] is None:
|
||||
log.debug("Renew: Name '%s' is registered but renewal did not pay the fee" % (name))
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user