removed pub key log

This commit is contained in:
obscuren 2014-02-10 11:37:11 +01:00
parent 8320fd998e
commit 3ecb2ef29c

View File

@ -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())
}
}