fix grpc test

This commit is contained in:
Callum Waters
2022-09-29 17:23:25 +02:00
parent 6841eb14bb
commit 9c331e42ae
2 changed files with 1 additions and 9 deletions
+1 -1
View File
@@ -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)