wallet-fetcher: allowing multiple wallet
Signed-off-by: Alexis Pentori <alexis@status.im>
This commit is contained in:
parent
0bd61451e5
commit
3bbc5be5f0
|
@ -77,7 +77,7 @@ class SourceWalletFetcher(AbstractSource):
|
|||
for wallet in config["wallets"]:
|
||||
tokens.append(
|
||||
Token(
|
||||
wallet_address=wallet,
|
||||
wallet_address=wallet['address'],
|
||||
)
|
||||
)
|
||||
return tokens
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue