fix: don't even try to refactor

This commit is contained in:
Vlad Stan
2022-12-01 12:21:24 +01:00
committed by dni ⚡
parent 2c8ebaf225
commit 7609f7ea5b
4 changed files with 20 additions and 12 deletions
+5
View File
@@ -93,6 +93,11 @@ async def delete_cashu(cashu_id) -> None:
##########################################
async def store_promises(amounts: List[int], B_s: List[str], C_s: List[str], cashu_id: str):
for amount, B_, C_ in zip(amounts, B_s, C_s):
await store_promise(amount, B_, C_, cashu_id)
async def store_promise(amount: int, B_: str, C_: str, cashu_id: str):
promise_id = urlsafe_short_hash()