From 7afec538285aa977a305a53fc5d0ad97e2c6d09e Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 27 Mar 2026 13:13:20 +0000 Subject: [PATCH] follow-up prev --- electrum/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/plugin.py b/electrum/plugin.py index c6acac629..c497db5fb 100644 --- a/electrum/plugin.py +++ b/electrum/plugin.py @@ -640,7 +640,7 @@ class Plugins(DaemonThread): self.remove_jobs(plugin.thread_jobs()) @staticmethod - def derive_privkey(self, pw: str, salt:bytes) -> ECPrivkey: + def derive_privkey(pw: str, salt: bytes) -> ECPrivkey: from hashlib import pbkdf2_hmac secret = pbkdf2_hmac('sha256', pw.encode('utf-8'), salt, iterations=10**5) return ECPrivkey(secret)