chore: code format

This commit is contained in:
Vlad Stan
2022-07-28 15:04:14 +03:00
parent 98366cfaf1
commit 23954b501f
2 changed files with 15 additions and 7 deletions
+2
View File
@@ -75,8 +75,10 @@ async def update_watch_wallet(wallet_id: str, **kwargs) -> Optional[WalletAccoun
async def delete_watch_wallet(wallet_id: str) -> None:
await db.execute("DELETE FROM watchonly.wallets WHERE id = ?", (wallet_id,))
########################ADDRESSES#######################
async def get_fresh_address(wallet_id: str) -> Optional[Address]:
# todo: move logic to views_api after satspay refactoring
wallet = await get_watch_wallet(wallet_id)