cleanup gateway RPC.

This commit is contained in:
Raúl Kripalani 2021-06-22 16:34:41 +01:00
parent 2a58f830c0
commit 71a7270c98

View File

@ -288,6 +288,7 @@ func startNodes(
var gapi api.Gateway
gapi, closer, err = client.NewGatewayRPCV1(ctx, "ws://"+srv.Listener.Addr().String()+"/rpc/v1", nil)
require.NoError(t, err)
t.Cleanup(closer)
ens.FullNode(&lite,
kit.LiteNode(),