From 65bdac3199bbaa45c4c6efc3f34719e627d25be5 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Fri, 13 Oct 2023 21:38:01 +0200 Subject: [PATCH] Fix WalletAPI LockResponse --- cashu/wallet/api/responses.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cashu/wallet/api/responses.py b/cashu/wallet/api/responses.py index cbdf7679..b77d198d 100644 --- a/cashu/wallet/api/responses.py +++ b/cashu/wallet/api/responses.py @@ -2,7 +2,7 @@ from pydantic import BaseModel -from ...core.base import Invoice, P2SHWitness +from ...core.base import Invoice class PayResponse(BaseModel): @@ -54,7 +54,7 @@ class LockResponse(BaseModel): class LocksResponse(BaseModel): - locks: List[P2SHWitness] + locks: List[str] class InvoicesResponse(BaseModel):