electrum

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

commit 1a7f1daebda35c05e061556fa37720980a96e858
parent 69c56c5b8d6f903488a42e3fcddf4ab8bb8287eb
Author: ThomasV <thomasv@gitorious>
Date:   Sat, 27 Oct 2012 20:04:08 +0200

fix flags

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

diff --git a/lib/verifier.py b/lib/verifier.py @@ -264,7 +264,7 @@ class WalletVerifier(threading.Thread): def save_chunk(self, index, chunk): filename = self.path() if os.path.exists(filename): - f = open(filename,'rwb+') + f = open(filename,'rb+') else: print "creating file", filename f = open(filename,'wb+') @@ -278,7 +278,7 @@ class WalletVerifier(threading.Thread): assert len(data) == 80 height = header.get('block_height') filename = self.path() - f = open(filename,'rwb+') + f = open(filename,'rb+') f.seek(height*80) h = f.write(data) f.close()