update migrations, models, crud

This commit is contained in:
bitkarrot 2023-03-02 16:45:41 -08:00
commit f95814577e
3 changed files with 17 additions and 10 deletions

View file

@ -95,12 +95,6 @@ async def check_lnaddress_format(username: str) -> bool:
return True
# async def get_wallet_key(wallet_id: str) -> str:
# row = await maindb.fetchone("SELECT inkey FROM wallets WHERE id = ?", (wallet_id,))
# if row is not None:
# return row[0]
# else:
# assert False, "Cannot locate wallet invoice key"
# return
async def get_address_data(username: str) -> Optional[PayLink]:
row = await db.fetchone(