mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
removed pub key log
This commit is contained in:
parent
8320fd998e
commit
3ecb2ef29c
@ -38,9 +38,8 @@ func CreateKeyPair(force bool) {
|
|||||||
addr := ethutil.Sha3Bin(pub)[12:]
|
addr := ethutil.Sha3Bin(pub)[12:]
|
||||||
|
|
||||||
log.Printf("Your new address is %x\n", addr)
|
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())
|
ethutil.Config.Db.Put([]byte("KeyRing"), keyRing.Encode())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user