create blockchain if not exists on load

This commit is contained in:
Aurelien Rebourg 2023-04-27 18:49:29 +02:00
parent 5f743a6b63
commit baa981e4cc
Signed by: Aurelien
GPG Key ID: F02826677ABB98C1
1 changed files with 1 additions and 1 deletions

View File

@ -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"""