128 bit == 22 characters

This commit is contained in:
callebtc
2022-10-01 04:00:52 +02:00
parent 21622d0adb
commit c72ea75911

View File

@@ -106,6 +106,9 @@ async def balance(ctx):
@click.pass_context
@coro
async def send(ctx, amount: int, secret: str):
if secret and len(secret) < 22:
print("Error: secret has to be at least 22 characters long.")
return
wallet: Wallet = ctx.obj["WALLET"]
wallet.load_mint()
wallet.status()