Skip to content

Commit

Permalink
remove default p-chain node
Browse files Browse the repository at this point in the history
  • Loading branch information
cam-schultz committed Oct 25, 2023
1 parent 50dd208 commit c05368e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The relayer is configured via a JSON file, the path to which is passed in via th
- The ID of the Avalanche network to which the relayer will connect. Defaults to `1` (Mainnet).

`"p-chain-api-url": string`
- The URL of the Avalanche P-Chain API node to which the relayer will connect. Defaults to `https://api.avax.network`.
- The URL of the Avalanche P-Chain API node to which the relayer will connect.

`"encrypt-connection": boolean`
- Whether or not to encrypt the connection to the P-Chain API node. Defaults to `true`.
Expand Down
1 change: 0 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ type Config struct {
func SetDefaultConfigValues(v *viper.Viper) {
v.SetDefault(LogLevelKey, logging.Info.String())
v.SetDefault(NetworkIDKey, constants.MainnetID)
v.SetDefault(PChainAPIURLKey, "https://api.avax.network")
v.SetDefault(EncryptConnectionKey, true)
v.SetDefault(StorageLocationKey, "./.awm-relayer-storage")
}
Expand Down

0 comments on commit c05368e

Please sign in to comment.