mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-25 18:51:39 +00:00
include check/append responses in broadcast_tx_commit
This commit is contained in:
@ -15,7 +15,10 @@ func TestBroadcastTx(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if res.Code != 0 {
|
||||
t.Fatalf("Non-zero code: %d", res.Code)
|
||||
if res.CheckTx.Code != 0 {
|
||||
t.Fatalf("Non-zero check tx code: %d", res.CheckTx.Code)
|
||||
}
|
||||
if res.AppendTx.Code != 0 {
|
||||
t.Fatalf("Non-zero append tx code: %d", res.AppendTx.Code)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user