electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 683495b3257b3391561148f5fd69b3be737a4eac
parent c34ea0066b5bd9866f6bc027276ca7e6bea39769
Author: ThomasV <thomasv@electrum.org>
Date:   Thu, 30 Nov 2017 10:12:23 +0100

Merge pull request #3419 from cluelessperson/fix_rsakey

[easy] Typo breaks lib.rsakey.RSAKey.generate ?
Diffstat:
Mlib/rsakey.py | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/rsakey.py b/lib/rsakey.py @@ -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) @@ -540,4 +540,3 @@ class RSAKey(object): key.qInv = invMod(q, p) return key generate = staticmethod(generate) -