tfollow-up 0ae04a64193475fa56ee3b5de61ce19e44b2c1a5 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 43c037cc10e1f66347ff061a68eaed9fcb3c8c02 DIR parent 0ae04a64193475fa56ee3b5de61ce19e44b2c1a5 HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 8 Apr 2016 10:43:55 +0200 follow-up 0ae04a64193475fa56ee3b5de61ce19e44b2c1a5 Diffstat: M RELEASE-NOTES | 1 + M lib/coinchooser.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/RELEASE-NOTES b/RELEASE-NOTES t@@ -1,4 +1,5 @@ # Release 2.6.4 (bugfixes) + * fix coinchooser bug (#1703) * fix daemon JSONRPC (#1731) * fix command-line broadcast (#1728) * QT: add colors to labels DIR diff --git a/lib/coinchooser.py b/lib/coinchooser.py t@@ -60,7 +60,7 @@ class PRNG: return start + (r % n) def choice(self, seq): - return seq[self.randint(0, seq)] + return seq[self.randint(0, len(seq))] def shuffle(self, x): for i in reversed(xrange(1, len(x))):