aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-09 05:57:40 +0800
committerobscuren <geffobscura@gmail.com>2014-02-09 05:57:40 +0800
commit542bc2fce4c6d65fd5346b64f2aa0a80f23d3480 (patch)
treec85d2de1852fff4391bbe04ef833cbf2bab6af49 /ethereum.go
parentd7205b7affeacf2977a896a24f1ba88c933c8dce (diff)
downloaddexon-542bc2fce4c6d65fd5346b64f2aa0a80f23d3480.tar
dexon-542bc2fce4c6d65fd5346b64f2aa0a80f23d3480.tar.gz
dexon-542bc2fce4c6d65fd5346b64f2aa0a80f23d3480.tar.bz2
dexon-542bc2fce4c6d65fd5346b64f2aa0a80f23d3480.tar.lz
dexon-542bc2fce4c6d65fd5346b64f2aa0a80f23d3480.tar.xz
dexon-542bc2fce4c6d65fd5346b64f2aa0a80f23d3480.tar.zst
dexon-542bc2fce4c6d65fd5346b64f2aa0a80f23d3480.zip
Woops
Diffstat (limited to 'ethereum.go')
-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)
}
}