aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
Diffstat (limited to 'eth')
-rw-r--r--eth/backend.go15
1 files changed, 7 insertions, 8 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 5057aa3aa..cdccd3940 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -222,14 +222,13 @@ func (s *Ethereum) MaxPeers() int {
// Start the ethereum
func (s *Ethereum) Start(seed bool) error {
- evd := map[string]interface{}{
- "version_string": s.ClientIdentity().String(),
- "guid": ethutil.Bytes2Hex(s.ClientIdentity().Pubkey()),
- "level": "debug",
- "coinbase": ethutil.Bytes2Hex(s.KeyManager().Address()),
- "eth_version": ProtocolVersion,
- }
- jsonlogger.LogJson("starting", evd)
+ jsonlogger.LogJson("starting", &ethlogger.LogStarting{
+ ClientString: s.ClientIdentity().String(),
+ Guid: ethutil.Bytes2Hex(s.ClientIdentity().Pubkey()),
+ Coinbase: ethutil.Bytes2Hex(s.KeyManager().Address()),
+ ProtocolVersion: ProtocolVersion,
+ })
+
err := s.net.Start()
if err != nil {
return err