version bump; omit unneeded safety check on namespace_reveal (thanks @mark!)

This commit is contained in:
Jude Nelson
2017-10-12 11:12:36 -04:00
parent 63e822e405
commit 278d656bf1
3 changed files with 4 additions and 3 deletions

View File

@@ -2,4 +2,4 @@
__version_major__ = '0'
__version_minor__ = '17'
__version_patch__ = '0'
__version__ = '{}.{}.{}.6'.format(__version_major__, __version_minor__, __version_patch__)
__version__ = '{}.{}.{}.7'.format(__version_major__, __version_minor__, __version_patch__)

View File

@@ -312,12 +312,13 @@ def operation_sanity_checks(fqu_or_ns, operations, scatter_gather, payment_privk
if not virtualchain.is_singlesig_address(reveal_address):
return {'error': 'Invalid address; only p2pkh addresses are supported for namespace reveal'}
'''
if not BLOCKSTACK_TEST:
# if we're *NOT* testing, then we also require that the reveal key be absent from the blockchain.
utxos = get_utxos(reveal_address, utxo_client=utxo_client, config_path=config_path, min_confirmations=0)
if len(utxos) > 0:
return {'error': 'Reveal key must not have been used prior to namespace reveal'}
'''
return {'status': True}
def _register_can_change_zonefile_hash(zonefile_hash):

View File

@@ -24,4 +24,4 @@
__version_major__ = '0'
__version_minor__ = '17'
__version_patch__ = '0'
__version__ = '{}.{}.{}.6'.format(__version_major__, __version_minor__, __version_patch__)
__version__ = '{}.{}.{}.7'.format(__version_major__, __version_minor__, __version_patch__)