diff options
author | obscuren <geffobscura@gmail.com> | 2014-02-10 18:37:11 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-02-10 18:37:11 +0800 |
commit | 3ecb2ef29cb5a9a0d2be8e9719875692a305bf3b (patch) | |
tree | 2e64e953b0c68fdfbbb517001d4865eb9744b434 /ethereum.go | |
parent | 8320fd998ee5d140b7bc99d071567f4c4c97901f (diff) | |
download | go-tangerine-3ecb2ef29cb5a9a0d2be8e9719875692a305bf3b.tar.gz go-tangerine-3ecb2ef29cb5a9a0d2be8e9719875692a305bf3b.tar.zst go-tangerine-3ecb2ef29cb5a9a0d2be8e9719875692a305bf3b.zip |
removed pub key log
Diffstat (limited to 'ethereum.go')
-rw-r--r-- | ethereum.go | 3 |
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()) } } |