From afeaf37ad97130d172ffaa16a9289397a8b21bb4 Mon Sep 17 00:00:00 2001 From: Andrew Richardson Date: Wed, 22 Sep 2021 10:43:53 -0400 Subject: [PATCH] Update token config keys Signed-off-by: Andrew Richardson --- internal/core/firefly_config.go | 6 +++--- internal/tokens/erc1155/erc1155_provider.go | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/core/firefly_config.go b/internal/core/firefly_config.go index 4bed21b7..5ee800ec 100644 --- a/internal/core/firefly_config.go +++ b/internal/core/firefly_config.go @@ -116,9 +116,9 @@ type FireflyIPFSConfig struct { } type TokenConnector struct { - Connector string `yaml:"connector,omitempty"` - Name string `yaml:"name,omitempty"` - URL string `yaml:"url,omitempty"` + Plugin string `yaml:"plugin,omitempty"` + Name string `yaml:"name,omitempty"` + URL string `yaml:"url,omitempty"` } type TokensConfig []*TokenConnector diff --git a/internal/tokens/erc1155/erc1155_provider.go b/internal/tokens/erc1155/erc1155_provider.go index 52329be0..12e88b21 100644 --- a/internal/tokens/erc1155/erc1155_provider.go +++ b/internal/tokens/erc1155/erc1155_provider.go @@ -77,9 +77,9 @@ func (p *ERC1155Provider) GetDockerServiceDefinitions() []*docker.ServiceDefinit func (p *ERC1155Provider) GetFireflyConfig(m *types.Member) *core.TokensConfig { return &core.TokensConfig{ &core.TokenConnector{ - Connector: "https", - Name: "erc1155", - URL: p.getTokensURL(m), + Plugin: "fftokens", + Name: "erc1155", + URL: p.getTokensURL(m), }, } }