diff --git a/rpc/client/event_test.go b/rpc/client/event_test.go index a25b6ebb2..e6b5bd0c8 100644 --- a/rpc/client/event_test.go +++ b/rpc/client/event_test.go @@ -98,6 +98,9 @@ func testTxEventsSent(t *testing.T, broadcastMethod string) { defer c.Stop() } + // wait for the client subscription to get set up + time.Sleep(100 * time.Millisecond) + // make the tx _, _, tx := MakeTxKV() evtTyp := types.EventTx