feat: return promises

This commit is contained in:
Vlad Stan
2022-10-07 13:44:26 +03:00
parent 95ebd179ad
commit 14e9df1d3e
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(