Apply block number accept for block cli, non-pending nonce bootstrap

This commit is contained in:
lash
2022-05-21 21:05:28 +00:00
parent 772781c1b8
commit 310ace8244
4 changed files with 19 additions and 15 deletions

View File

@@ -112,7 +112,11 @@ logg.debug('settings loaded:\n{}'.format(settings))
def get_block(settings):
hsh = settings.get('HASH')[0]
hsh = None
try:
hsh = settings.get('HASH')[0]
except TypeError:
pass
r = None
if hsh == None:
r = get_block_number(