create blockchain if not exists on load
This commit is contained in:
parent
5f743a6b63
commit
baa981e4cc
2
bscli.py
2
bscli.py
|
|
@ -80,7 +80,7 @@ def init(difficulty):
|
|||
startShell()
|
||||
|
||||
@cli.command()
|
||||
@click.argument("filename", type=click.Path(exists=True))
|
||||
@click.argument("filename", type=click.Path())
|
||||
@click.option("--difficulty", default=3, help="Define difficulty level of blockchain.")
|
||||
def load(filename, difficulty):
|
||||
"""Load blockchain from file"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue