electrum

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

commit 058ad1292b59610777074d0dd5cfe5660a80f8f1
parent 816495609fa3d87f452d041ca74e197a770cb8d6
Author: ThomasV <thomasv@gitorious>
Date:   Thu,  4 Sep 2014 17:51:29 +0200

show groups of 5 words

Diffstat:
Mgui/qt/seed_dialog.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/gui/qt/seed_dialog.py b/gui/qt/seed_dialog.py @@ -72,6 +72,8 @@ def show_seed_box(seed, sid=None): + _("If you ever need to recover your wallet from seed, you will need both this seed and your cold seed.") + " " \ label1 = QLabel(msg+ ":") + from itertools import izip_longest + seed = '\n'.join(map(lambda x: ' '.join(x), izip_longest(*(iter(seed.split()),) * 5, fillvalue=''))) seed_text = QRTextEdit(seed) seed_text.setReadOnly(True) seed_text.setMaximumHeight(130)