Browse Source

fix fmt

pull/1667/head
Ethan Buchman 6 years ago
parent
commit
aa8be33da1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      types/evidence.go

+ 2
- 2
types/evidence.go View File

@ -152,7 +152,7 @@ func (e MockGoodEvidence) Equal(ev Evidence) bool {
bytes.Equal(e.Address_, e2.Address_)
}
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
@ -169,7 +169,7 @@ func (e MockBadEvidence) Equal(ev Evidence) bool {
bytes.Equal(e.Address_, e2.Address_)
}
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…
Cancel
Save