From 45c3f0455f28eea56939be487149156e59f2b942 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Tue, 25 Jul 2023 22:50:51 +0200 Subject: [PATCH] fix comments --- cashu/mint/router.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/cashu/mint/router.py b/cashu/mint/router.py index 67e122b0..35c64cc5 100644 --- a/cashu/mint/router.py +++ b/cashu/mint/router.py @@ -219,8 +219,7 @@ async def split( payload: PostSplitRequest, ) -> Union[PostSplitResponse, PostSplitResponse_Deprecated]: """ - Requetst a set of tokens with amount "total" to be split into two - newly minted sets with amount "split" and "total-split". + Requests a set of Proofs to be split into two a new set of BlindedSignatures. This endpoint is used by Alice to split a set of proofs before making a payment to Carol. It is then used by Carol (by setting split=total) to redeem the tokens. @@ -228,11 +227,6 @@ async def split( logger.trace(f"> POST /split: {payload}") assert payload.outputs, Exception("no outputs provided.") - # split_return = await ledger.split(payload.proofs, payload.amount, payload.outputs) - # frst_promises, scnd_promises = split_return - # resp = PostSplitResponse(fst=frst_promises, snd=scnd_promises) - # logger.trace(f"< POST /split: {resp}") - # return resp promises = await ledger.split( proofs=payload.proofs, outputs=payload.outputs, amount=payload.amount )