tMerge pull request #3419 from cluelessperson/fix_rsakey - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 683495b3257b3391561148f5fd69b3be737a4eac DIR parent c34ea0066b5bd9866f6bc027276ca7e6bea39769 HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 30 Nov 2017 10:12:23 +0100 Merge pull request #3419 from cluelessperson/fix_rsakey t[easy] Typo breaks lib.rsakey.RSAKey.generate ? Diffstat: M lib/rsakey.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- DIR diff --git a/lib/rsakey.py b/lib/rsakey.py t@@ -526,7 +526,7 @@ class RSAKey(object): return False def generate(bits): - key = Python_RSAKey() + key = RSAKey() p = getRandomPrime(bits//2, False) q = getRandomPrime(bits//2, False) t = lcm(p-1, q-1) t@@ -540,4 +540,3 @@ class RSAKey(object): key.qInv = invMod(q, p) return key generate = staticmethod(generate) -