aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ethereum.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethereum.go b/ethereum.go
index 674f7d88c..902b9ae9c 100644
--- a/ethereum.go
+++ b/ethereum.go
@@ -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)
}
}