electrum

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

commit a6239764d236beb955e54c8b6043f73e8ca8a2e9
parent 34a3eea0bfc3f493184478f924f37d8d14741570
Author: Jimbo77 <onlineregular@gmail.com>
Date:   Thu, 23 Aug 2012 18:36:40 -0700

small cosmetic change

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

diff --git a/lib/wallet.py b/lib/wallet.py @@ -76,8 +76,7 @@ __b58chars = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz' __b58base = len(__b58chars) def b58encode(v): - """ encode v, which is a string of bytes, to base58. - """ + """ encode v, which is a string of bytes, to base58.""" long_value = 0L for (i, c) in enumerate(v[::-1]): @@ -100,8 +99,7 @@ def b58encode(v): return (__b58chars[0]*nPad) + result def b58decode(v, length): - """ decode v into a string of len bytes - """ + """ decode v into a string of len bytes.""" long_value = 0L for (i, c) in enumerate(v[::-1]): long_value += __b58chars.find(c) * (__b58base**i)