diff --git a/wallet-fetcher/source_wallet_fetcher/source.py b/wallet-fetcher/source_wallet_fetcher/source.py index fce2185..1ed46e1 100644 --- a/wallet-fetcher/source_wallet_fetcher/source.py +++ b/wallet-fetcher/source_wallet_fetcher/source.py @@ -77,7 +77,7 @@ class SourceWalletFetcher(AbstractSource): for wallet in config["wallets"]: tokens.append( Token( - wallet_address=wallet, + wallet_address=wallet['address'], ) ) return tokens diff --git a/wallet-fetcher/source_wallet_fetcher/spec.yaml b/wallet-fetcher/source_wallet_fetcher/spec.yaml index 0eeca24..b9272ca 100644 --- a/wallet-fetcher/source_wallet_fetcher/spec.yaml +++ b/wallet-fetcher/source_wallet_fetcher/spec.yaml @@ -11,4 +11,12 @@ connectionSpecification: description: "List of wallet to scan" type: array items: - type: string + type: object + additionalProperties: true + properties: + address: + title: Address + type: string + name: + title: Name + type: string