renewal after 10 blocks

This commit is contained in:
Jude Nelson
2017-11-14 19:38:31 -05:00
parent 9371797f48
commit 0863eaa6fb

View File

@@ -210,7 +210,8 @@ def scenario( wallets, **kw ):
res['test'] = 'Failed to get name bar.test'
print json.dumps(res)
return False
print res
new_expire_block = res['response']['expire_block']
# do we have the history for the name?
@@ -264,7 +265,7 @@ def scenario( wallets, **kw ):
print ''
# verify pushed back
if old_expire_block + 12 > new_expire_block:
if old_expire_block + 10 > new_expire_block:
# didn't go through
print >> sys.stderr, "Renewal didn't work: %s --> %s" % (old_expire_block, new_expire_block)
return False