From d0aad8ccafa11d7c0bd1613b5724b55bb059627c Mon Sep 17 00:00:00 2001
From: Jonathan Moody <103143855+moodyjon@users.noreply.github.com>
Date: Tue, 20 Sep 2022 11:22:18 -0500
Subject: [PATCH] Add zlib.error string just observed for the first time.

---
 lbry/wallet/wallet.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lbry/wallet/wallet.py b/lbry/wallet/wallet.py
index abbfb688c..c3c2e8098 100644
--- a/lbry/wallet/wallet.py
+++ b/lbry/wallet/wallet.py
@@ -177,6 +177,8 @@ class Wallet:
         except zlib.error as e:
             if "incorrect header check" in e.args[0].lower():
                 raise InvalidPasswordError()
+            if "unknown compression method" in e.args[0].lower():
+                raise InvalidPasswordError()
             raise
         return json.loads(decompressed)