update migrations, models, crud
This commit is contained in:
parent
c476d79580
commit
f95814577e
3 changed files with 17 additions and 10 deletions
6
crud.py
6
crud.py
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue