From 19c18e1728e23679cd31718474e29c6e3234cc9f Mon Sep 17 00:00:00 2001 From: jackjack Date: Wed, 10 Aug 2011 18:25:45 +0200 Subject: [PATCH] Add Pubkey when signing only --- pywallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pywallet.py b/pywallet.py index f732d0e..dff9977 100755 --- a/pywallet.py +++ b/pywallet.py @@ -1366,7 +1366,7 @@ class WIInfo(resource.Resource): if sec is not '' and msg is not '': if need & 1: ret += "
" - ret += "Signature of '%s' by %s: %s
"%(msg, addr, sign_message(secret, msg)) + ret += "Signature of '%s' by %s: %s
Pubkey: 04%.64x%.64x
"%(msg, addr, sign_message(secret, msg), pkey.pubkey.point.x(), pkey.pubkey.point.y()) if sig is not '' and msg is not '' and pubkey is not '': addr = public_key_to_bc_address(pubkey.decode('hex'))