misc work on webui
This commit is contained in:
parent
cf26232d61
commit
170cca9620
14 changed files with 115 additions and 23 deletions
|
@ -115,7 +115,7 @@ def insert_block(data, header='txt', sign=False, encryptType='', symKey='', asym
|
|||
|
||||
# ensure expire is integer and of sane length
|
||||
if type(expire) is not type(None):
|
||||
assert len(str(int(expire))) < 14
|
||||
assert len(str(int(expire))) < 20
|
||||
metadata['expire'] = expire
|
||||
|
||||
# send block data (and metadata) to POW module to get tokenized block data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue