mint start

This commit is contained in:
callebtc
2022-09-11 14:46:23 +03:00
parent 283e3a74aa
commit 6b470080eb
5 changed files with 21 additions and 4 deletions

View File

@@ -21,6 +21,8 @@ class MyFlaskApp(Flask):
def __init__(self, *args, **kwargs):
async def create_tasks_func():
await asyncio.wait([m001_initial(ledger.db)])
await ledger.load_used_proofs()
print("Mint started.")
loop = asyncio.get_event_loop()
loop.run_until_complete(create_tasks_func())