Use []byte instead of Bytes, use tmlibs/common.KVPair

This commit is contained in:
Jae Kwon
2017-12-26 04:52:02 -08:00
parent a861d68a31
commit e1ff53fd0b
9 changed files with 199 additions and 225 deletions
+1 -2
View File
@@ -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")