feat: return promises

This commit is contained in:
Vlad Stan
2022-12-01 12:21:24 +01:00
committed by dni ⚡
parent 337ccf5459
commit 2c8ebaf225
6 changed files with 158 additions and 46 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ async def delete_cashu(cashu_id) -> None:
##########################################
async def store_promise(amount: int, B_: str, C_: str, cashu_id):
async def store_promise(amount: int, B_: str, C_: str, cashu_id: str):
promise_id = urlsafe_short_hash()
await db.execute(