mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-24 08:54:51 +00:00
fix grpc test
This commit is contained in:
@@ -27,7 +27,7 @@ func TestMain(m *testing.M) {
|
||||
func TestBroadcastTx(t *testing.T) {
|
||||
res, err := rpctest.GetGRPCClient().BroadcastTx(
|
||||
context.Background(),
|
||||
&core_grpc.RequestBroadcastTx{Tx: []byte("this is a tx")},
|
||||
&core_grpc.RequestBroadcastTx{Tx: kvstore.NewTx("hello", "world")},
|
||||
)
|
||||
require.NoError(t, err)
|
||||
require.EqualValues(t, 0, res.CheckTx.Code)
|
||||
|
||||
Reference in New Issue
Block a user