mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-24 03:54:21 +01:00
fst_ to frst_ and snd_ to scnd_
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user