mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-20 23:14:37 +00:00
linted, somewhat
This commit is contained in:
committed by
Ethan Buchman
parent
36e96c5bf1
commit
65eb7e8974
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user