pull/19/head
obscuren 11 years ago
parent d7205b7aff
commit 542bc2fce4
  1. 2
      ethereum.go

@ -37,6 +37,8 @@ func CreateKeyPair(force bool) {
pub, prv := secp256k1.GenerateKeyPair() pub, prv := secp256k1.GenerateKeyPair()
log.Printf("Your new address is %x\n", pub[12:])
ethutil.Config.Db.Put([]byte("KeyRing"), prv) ethutil.Config.Db.Put([]byte("KeyRing"), prv)
} }
} }

Loading…
Cancel
Save