chore: code format

This commit is contained in:
Vlad Stan 2022-07-05 13:26:07 +03:00
parent 98366cfaf1
commit 23954b501f
2 changed files with 15 additions and 7 deletions

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: async def delete_watch_wallet(wallet_id: str) -> None:
await db.execute("DELETE FROM watchonly.wallets WHERE id = ?", (wallet_id,)) await db.execute("DELETE FROM watchonly.wallets WHERE id = ?", (wallet_id,))
########################ADDRESSES####################### ########################ADDRESSES#######################
async def get_fresh_address(wallet_id: str) -> Optional[Address]: async def get_fresh_address(wallet_id: str) -> Optional[Address]:
# todo: move logic to views_api after satspay refactoring # todo: move logic to views_api after satspay refactoring
wallet = await get_watch_wallet(wallet_id) wallet = await get_watch_wallet(wallet_id)

View file

@ -6,16 +6,22 @@
<a href="https://iancoleman.io/bip39/">https://iancoleman.io/bip39/</a> <a href="https://iancoleman.io/bip39/">https://iancoleman.io/bip39/</a>
<small> <small>
<br />Created by, <br />Created by,
<a target="_blank" class="text-white" href="https://github.com/arcbtc">Ben Arc</a> (using, <a target="_blank" class="text-white" href="https://github.com/arcbtc"
<a target="_blank" class="text-white" href="https://github.com/diybitcoinhardware/embit" >Ben Arc</a
>
(using,
<a
target="_blank"
class="text-white"
href="https://github.com/diybitcoinhardware/embit"
>Embit</a >Embit</a
></small ></small
>) >)
</br> <br />
</br> <br />
<a target="_blank" href="/docs#/watchonly" class="text-white">Swagger REST API Documentation</a> <a target="_blank" href="/docs#/watchonly" class="text-white"
>Swagger REST API Documentation</a
>
</p> </p>
</q-card-section> </q-card-section>
</q-card> </q-card>