From 23954b501f0f03d2b88a755ba54dc26fd7ac5592 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Tue, 5 Jul 2022 13:26:07 +0300 Subject: [PATCH] chore: code format --- lnbits/extensions/watchonly/crud.py | 2 ++ .../templates/watchonly/_api_docs.html | 20 ++++++++++++------- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/lnbits/extensions/watchonly/crud.py b/lnbits/extensions/watchonly/crud.py index 815ac65f..4e4382c9 100644 --- a/lnbits/extensions/watchonly/crud.py +++ b/lnbits/extensions/watchonly/crud.py @@ -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) diff --git a/lnbits/extensions/watchonly/templates/watchonly/_api_docs.html b/lnbits/extensions/watchonly/templates/watchonly/_api_docs.html index 678e7238..db0811f5 100644 --- a/lnbits/extensions/watchonly/templates/watchonly/_api_docs.html +++ b/lnbits/extensions/watchonly/templates/watchonly/_api_docs.html @@ -6,16 +6,22 @@ https://iancoleman.io/bip39/
Created by, - Ben Arc (using, - Ben Arc + (using, + Embit
) -
-
- Swagger REST API Documentation - +
+
+ Swagger REST API Documentation

-