Skip to content

Commit

Permalink
fix(monitor): init near source network client in monitor (#541)
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudoyu authored Sep 13, 2024
1 parent 4c52081 commit 32913ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/node/monitor/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ func initNetworkClient(m *config.Module) (Client, error) {
client, err = NewRssClient(m.EndpointID, m.Parameters)
case network.EthereumSource:
client, err = NewEthereumClient(m.Endpoint)
case network.NearSource:
client, err = NewNearClient(m.Endpoint)
default:
return nil, fmt.Errorf("unsupported network source: %s", m.Network)
}
Expand Down

0 comments on commit 32913ab

Please sign in to comment.