Update JSON Log types

This commit is contained in:
Taylor Gerring
2015-02-18 10:52:23 +01:00
parent 60318c96d0
commit f499f343ba
2 changed files with 290 additions and 295 deletions

View File

@ -205,9 +205,7 @@ func (s *Ethereum) Coinbase() []byte { return nil } // TODO
func (s *Ethereum) Start() error {
jsonlogger.LogJson(&ethlogger.LogStarting{
ClientString: s.net.Name,
Coinbase: ethutil.Bytes2Hex(s.KeyManager().Address()),
ProtocolVersion: ProtocolVersion,
LogEvent: ethlogger.LogEvent{Guid: ethutil.Bytes2Hex(crypto.FromECDSAPub(&s.net.PrivateKey.PublicKey))},
})
err := s.net.Start()