Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alok committed Jul 11, 2024
1 parent 0dff50a commit d98aee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p2p/pkg/rpc/provider/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (t *testRegistryContract) MinStake(_ *bind.CallOpts) (*big.Int, error) {

func (t *testRegistryContract) ParseProviderRegistered(log types.Log) (*providerregistry.ProviderregistryProviderRegistered, error) {
return &providerregistry.ProviderregistryProviderRegistered{
Provider: common.Address{},
Provider: common.Address{},
StakedAmount: t.stake,
}, nil
}
Expand Down Expand Up @@ -97,7 +97,7 @@ func startServer(t *testing.T) (providerapiv1.ProviderClient, *providerapi.Servi
if err := baseServer.Serve(lis); err != nil {
// Ignore "use of closed network connection" error
if opErr, ok := err.(*net.OpError); !ok || !errors.Is(opErr.Err, net.ErrClosed) {
t.Logf("server stopped err: %v", err)
t.Errorf("server stopped err: %v", err)
}
}
}()
Expand Down

0 comments on commit d98aee6

Please sign in to comment.