tsmall cosmetic change - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit a6239764d236beb955e54c8b6043f73e8ca8a2e9 DIR parent 34a3eea0bfc3f493184478f924f37d8d14741570 HTML Author: Jimbo77 <onlineregular@gmail.com> Date: Thu, 23 Aug 2012 18:36:40 -0700 small cosmetic change Diffstat: M lib/wallet.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -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]): t@@ -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)