From 590a1a349af86b281f054d23e7af916bf5b9e203 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Sun, 9 Oct 2022 10:52:38 +0200 Subject: [PATCH] binary to string --- cashu/core/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cashu/core/base.py b/cashu/core/base.py index 6ab1de4..dd9a248 100644 --- a/cashu/core/base.py +++ b/cashu/core/base.py @@ -269,7 +269,7 @@ class MintKeyset: if row is None: return cls return cls( - id=row[0], + id=row[0].decode("ascii"), derivation_path=row[1], valid_from=row[2], valid_to=row[3],