moved to error
This commit is contained in:
parent
211cb03f83
commit
d7eaa97a29
@ -455,8 +455,8 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
h := block.Header()
|
h := block.Header()
|
||||||
chainlogger.Infof("INVALID block #%v (%x)\n", h.Number, h.Hash().Bytes()[:4])
|
chainlogger.Errorf("INVALID block #%v (%x)\n", h.Number, h.Hash().Bytes()[:4])
|
||||||
chainlogger.Infoln(err)
|
chainlogger.Errorln(err)
|
||||||
chainlogger.Debugln(block)
|
chainlogger.Debugln(block)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
@ -542,10 +542,3 @@ out:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
// Satisfy state query interface
|
|
||||||
func (self *ChainManager) GetAccount(addr common.Hash) *state.StateObject {
|
|
||||||
return self.State().GetAccount(addr)
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
Loading…
Reference in New Issue
Block a user