From e0847895773ec75d737e064cf6d0e8106cd8e546 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 11 Apr 2025 10:05:58 +0200 Subject: [PATCH] minor fix (follow-up 737417fb800caa0fcad4e6d0bb473cde99d5b22d) --- electrum/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/plugin.py b/electrum/plugin.py index 57d8d4571..6f86f5608 100644 --- a/electrum/plugin.py +++ b/electrum/plugin.py @@ -202,7 +202,7 @@ class Plugins(DaemonThread): salt = os.urandom(32) privkey = self.derive_privkey(password, salt) pubkey = privkey.get_public_key_bytes() - key = chr(PLUGIN_PASSWORD_VERSION) + salt + pubkey + key = bytes([PLUGIN_PASSWORD_VERSION]) + salt + pubkey return key.hex() def get_pubkey_bytes(self) -> Tuple[Optional[bytes], bytes]: