mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 14:06:45 +01:00
Woops
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user