instead of displaying payout script in hex, display human representation
authorForrest Voight <forrest@forre.st>
Sat, 3 Sep 2011 04:20:02 +0000 (00:20 -0400)
committerForrest Voight <forrest@forre.st>
Sat, 3 Sep 2011 04:20:02 +0000 (00:20 -0400)
p2pool/main.py

index 38d21e1..f2344b3 100644 (file)
@@ -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...'