fst_ to frst_ and snd_ to scnd_

This commit is contained in:
callebtc
2022-10-05 19:53:31 +02:00
parent befd12102c
commit a264dd5c6d
5 changed files with 66 additions and 66 deletions

View File

@@ -87,6 +87,6 @@ async def split(payload: SplitRequest):
return CashuError(error=str(exc))
if not split_return:
return {"error": "there was a problem with the split."}
fst_promises, snd_promises = split_return
resp = PostSplitResponse(fst=fst_promises, snd=snd_promises)
frst_promises, scnd_promises = split_return
resp = PostSplitResponse(fst=frst_promises, snd=scnd_promises)
return resp