Skip to content

Commit

Permalink
Add IPAddressRegistry field to test
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkushinDaniil committed Jan 1, 2025
1 parent 4727209 commit d1397f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion l1/l1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ func TestEthSubscriber_FinalisedHeight(t *testing.T) {
server, listener := startServer("127.0.0.1:0", test.service)
defer server.Stop()

subscriber, err := l1.NewEthSubscriber("ws://"+listener.Addr().String(), &utils.Network{})
subscriber, err := l1.NewEthSubscriber("ws://"+listener.Addr().String(),
&utils.Network{IPAddressRegistry: &common.Address{}})
require.NoError(t, err)
defer subscriber.Close()

Expand Down

0 comments on commit d1397f0

Please sign in to comment.