git://git.novaco.in
/
electrum-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Novacoin: beginning of adaptation for NVC protocol.
[electrum-server.git]
/
utils
/
__init__.py
diff --git
a/utils/__init__.py
b/utils/__init__.py
index
d6ff895
..
8a6cad2
100644
(file)
--- a/
utils/__init__.py
+++ b/
utils/__init__.py
@@
-107,7
+107,7
@@
def public_key_to_bc_address(public_key):
return hash_160_to_bc_address(hash_160(public_key))
-def hash_160_to_bc_address(h160, addrtype = 0):
+def hash_160_to_bc_address(h160, addrtype = 8):
if h160 == 'None':
return 'None'
vh160 = chr(addrtype) + h160