Skip to content

Commit

Permalink
correct json tag
Browse files Browse the repository at this point in the history
  • Loading branch information
cam-schultz committed Oct 24, 2023
1 parent 947d5d7 commit 9ae1307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type SourceSubnet struct {
RPCEndpoint string `mapstructure:"rpc-endpoint" json:"rpc-endpoint"`
WSEndpoint string `mapstructure:"ws-endpoint" json:"ws-endpoint"`
MessageContracts map[string]MessageProtocolConfig `mapstructure:"message-contracts" json:"message-contracts"`
SupportedDestinations []string `mapstructure:"supported-destinations" json:"allowed-destinations"`
SupportedDestinations []string `mapstructure:"supported-destinations" json:"supported-destinations"`

// convenience field to access the supported destinations after initialization
supportedDestinationsMap map[ids.ID]bool
Expand Down

0 comments on commit 9ae1307

Please sign in to comment.