forked from cerc-io/plugeth
removed pub key log
This commit is contained in:
parent
8320fd998e
commit
3ecb2ef29c
@ -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())
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user