Service log prettify

This commit is contained in:
Jae Kwon
2015-07-20 16:55:05 -07:00
parent 1d362a71ed
commit c0a64d74be
4 changed files with 16 additions and 5 deletions

View File

@ -1227,3 +1227,7 @@ func (cs *ConsensusState) saveBlock(block *types.Block, blockParts *types.PartSe
func (cs *ConsensusState) SetFireable(evsw events.Fireable) {
cs.evsw = evsw
}
func (cs *ConsensusState) String() string {
return Fmt("ConsensusState(H:%v R:%v S:%v", cs.Height, cs.Round, cs.Step)
}