electrum

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

commit 8fd1dbadf65c8a4b837f73f40b1e1e53a36b8a80
parent ae991f4407f444e918d4d91cc4baeb9dc53f8c72
Author: thomasv <thomasv@gitorious>
Date:   Mon,  1 Oct 2012 15:10:51 +0200

use https for aliases

Diffstat:
Mlib/wallet.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/wallet.py b/lib/wallet.py @@ -969,9 +969,9 @@ class Wallet: m1 = re.match('([\w\-\.]+)@((\w[\w\-]+\.)+[\w\-]+)', alias) m2 = re.match('((\w[\w\-]+\.)+[\w\-]+)', alias) if m1: - url = 'http://' + m1.group(2) + '/bitcoin.id/' + m1.group(1) + url = 'https://' + m1.group(2) + '/bitcoin.id/' + m1.group(1) elif m2: - url = 'http://' + alias + '/bitcoin.id' + url = 'https://' + alias + '/bitcoin.id' else: return '' try: