mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-26 15:22:15 +00:00
fix fmt
This commit is contained in:
parent
909f66e841
commit
aa8be33da1
@ -152,7 +152,7 @@ func (e MockGoodEvidence) Equal(ev Evidence) bool {
|
|||||||
bytes.Equal(e.Address_, e2.Address_)
|
bytes.Equal(e.Address_, e2.Address_)
|
||||||
}
|
}
|
||||||
func (e MockGoodEvidence) String() string {
|
func (e MockGoodEvidence) String() string {
|
||||||
return fmt.Sprintf("GoodEvidence: %d/%s/%d", e.Height_, e.Address_)
|
return fmt.Sprintf("GoodEvidence: %d/%s", e.Height_, e.Address_)
|
||||||
}
|
}
|
||||||
|
|
||||||
// UNSTABLE
|
// UNSTABLE
|
||||||
@ -169,7 +169,7 @@ func (e MockBadEvidence) Equal(ev Evidence) bool {
|
|||||||
bytes.Equal(e.Address_, e2.Address_)
|
bytes.Equal(e.Address_, e2.Address_)
|
||||||
}
|
}
|
||||||
func (e MockBadEvidence) String() string {
|
func (e MockBadEvidence) String() string {
|
||||||
return fmt.Sprintf("BadEvidence: %d/%s/%d", e.Height_, e.Address_)
|
return fmt.Sprintf("BadEvidence: %d/%s", e.Height_, e.Address_)
|
||||||
}
|
}
|
||||||
|
|
||||||
//-------------------------------------------
|
//-------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user