From 3ecb2ef29cb5a9a0d2be8e9719875692a305bf3b Mon Sep 17 00:00:00 2001 From: obscuren Date: Mon, 10 Feb 2014 11:37:11 +0100 Subject: [PATCH] removed pub key log --- ethereum.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ethereum.go b/ethereum.go index df9eb2387..78a22614f 100644 --- a/ethereum.go +++ b/ethereum.go @@ -38,9 +38,8 @@ func CreateKeyPair(force bool) { addr := ethutil.Sha3Bin(pub)[12:] log.Printf("Your new address is %x\n", addr) - log.Printf("Your new pubkey is %x (%d)\n", pub, len(pub)) - keyRing := ethutil.NewValue([]interface{}{prv, addr, pub}) + keyRing := ethutil.NewValue([]interface{}{prv, addr, pub[1:]}) ethutil.Config.Db.Put([]byte("KeyRing"), keyRing.Encode()) } }