Commit 3ecb2ef2 authored by obscuren's avatar obscuren

removed pub key log

parent 8320fd99
......@@ -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())
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment