aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-10 18:37:11 +0800
committerobscuren <geffobscura@gmail.com>2014-02-10 18:37:11 +0800
commit3ecb2ef29cb5a9a0d2be8e9719875692a305bf3b (patch)
tree2e64e953b0c68fdfbbb517001d4865eb9744b434
parent8320fd998ee5d140b7bc99d071567f4c4c97901f (diff)
downloadgo-tangerine-3ecb2ef29cb5a9a0d2be8e9719875692a305bf3b.tar.gz
go-tangerine-3ecb2ef29cb5a9a0d2be8e9719875692a305bf3b.tar.zst
go-tangerine-3ecb2ef29cb5a9a0d2be8e9719875692a305bf3b.zip
removed pub key log
-rw-r--r--ethereum.go3
1 files changed, 1 insertions, 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())
}
}