linted, somewhat

This commit is contained in:
Zach Ramsay
2017-09-22 09:14:25 -04:00
committed by Ethan Buchman
parent 36e96c5bf1
commit 65eb7e8974
3 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ func commit(client abcicli.Client, hashExp []byte) {
res := client.CommitSync()
_, data, log := res.Code, res.Data, res.Log
if res.IsErr() {
panic(fmt.Sprintf("committing %v\nlog: %v", log))
panic(fmt.Sprintf("committing %v\nlog: %v", log, res.Log))
}
if !bytes.Equal(res.Data, hashExp) {
panic(fmt.Sprintf("Commit hash was unexpected. Got %X expected %X",