git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
10ff60a
)
instead of displaying payout script in hex, display human representation
author
Forrest Voight
<forrest@forre.st>
Sat, 3 Sep 2011 04:20:02 +0000 (
00:20
-0400)
committer
Forrest Voight
<forrest@forre.st>
Sat, 3 Sep 2011 04:20:02 +0000 (
00:20
-0400)
p2pool/main.py
patch
|
blob
|
history
diff --git
a/p2pool/main.py
b/p2pool/main.py
index
38d21e1
..
f2344b3
100644
(file)
--- a/
p2pool/main.py
+++ b/
p2pool/main.py
@@
-109,7
+109,7
@@
def main(args):
else:
my_script = bitcoin.data.pubkey_hash_to_script2(args.pubkey_hash)
print ' ...success!'
- print ' Payout script:', my_script.encode('hex')
+ print ' Payout script:', bitcoin.data.script2_to_human(my_script, args.net)
print
print 'Loading cached block headers...'