aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereum.go')
-rw-r--r--ethereum.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/ethereum.go b/ethereum.go
index df9eb2387..78a22614f 100644
--- a/ethereum.go
+++ b/ethereum.go
@@ -38,9 +38,8 @@ func CreateKeyPair(force bool) {
addr := ethutil.Sha3Bin(pub)[12:]
log.Printf("Your new address is %x\n", addr)
- log.Printf("Your new pubkey is %x (%d)\n", pub, len(pub))
- keyRing := ethutil.NewValue([]interface{}{prv, addr, pub})
+ keyRing := ethutil.NewValue([]interface{}{prv, addr, pub[1:]})
ethutil.Config.Db.Put([]byte("KeyRing"), keyRing.Encode())
}
}