small fix

This commit is contained in:
Ethan Buchman
2017-09-22 09:14:20 -04:00
parent 0e7d974410
commit a3ac825490

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, res.Log))
panic(fmt.Sprintf("committing err %v\n", res))
}
if !bytes.Equal(res.Data, hashExp) {
panic(fmt.Sprintf("Commit hash was unexpected. Got %X expected %X",