mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-07 00:26:58 +00:00
Use []byte instead of Bytes, use tmlibs/common.KVPair
This commit is contained in:
@@ -51,8 +51,7 @@ func Commit(client abcicli.Client, hashExp []byte) error {
|
||||
}
|
||||
if !bytes.Equal(data, hashExp) {
|
||||
fmt.Println("Failed test: Commit")
|
||||
fmt.Printf("Commit hash was unexpected. Got %X expected %X\n",
|
||||
data.Bytes(), hashExp)
|
||||
fmt.Printf("Commit hash was unexpected. Got %X expected %X\n", data, hashExp)
|
||||
return errors.New("CommitTx failed")
|
||||
}
|
||||
fmt.Println("Passed test: Commit")
|
||||
|
||||
Reference in New Issue
Block a user