mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-28 08:37:22 +00:00
Woops
This commit is contained in:
parent
d7205b7aff
commit
542bc2fce4
1 changed files with 2 additions and 0 deletions
|
|
@ -37,6 +37,8 @@ func CreateKeyPair(force bool) {
|
|||
|
||||
pub, prv := secp256k1.GenerateKeyPair()
|
||||
|
||||
log.Printf("Your new address is %x\n", pub[12:])
|
||||
|
||||
ethutil.Config.Db.Put([]byte("KeyRing"), prv)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue