Skip to content

Commit

Permalink
oops brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
omerlavanet committed Dec 2, 2024
1 parent de6d07e commit b24289a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion protocol/rpcconsumer/rpcconsumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -673,12 +673,13 @@ rpcconsumer consumer_examples/full_consumer_example.yml --cache-be "127.0.0.1:77
ChainID: statetracker.TESTNET_SPEC,
ApiInterface: spectypes.APIInterfaceTendermintRPC,
}
} else if strings.Contains(networkChainId, "testnet") || networkChainId=="lava" {
} else if strings.Contains(networkChainId, "testnet") || networkChainId == "lava" {
return &lavasession.RPCEndpoint{
NetworkAddress: chainlib.INTERNAL_ADDRESS,
ChainID: statetracker.TESTNET_SPEC,
ApiInterface: spectypes.APIInterfaceTendermintRPC,
}
}
utils.LavaFormatError("could not find a native lava chain for the current network", nil, utils.LogAttr("networkChainId", networkChainId))
return nil
}()
Expand Down

0 comments on commit b24289a

Please sign in to comment.