aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-11-08 07:57:44 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 01:13:46 +0800
commitaa63632fff4265e9d68a797dd6fcd5fe7b27245c (patch)
tree6f7e91a3217239ba34714a54c31ef7defc224614 /packages/pipeline
parentd86f5c4fbdaea40402e059cdad7ccd7453f66f32 (diff)
downloaddexon-sol-tools-aa63632fff4265e9d68a797dd6fcd5fe7b27245c.tar
dexon-sol-tools-aa63632fff4265e9d68a797dd6fcd5fe7b27245c.tar.gz
dexon-sol-tools-aa63632fff4265e9d68a797dd6fcd5fe7b27245c.tar.bz2
dexon-sol-tools-aa63632fff4265e9d68a797dd6fcd5fe7b27245c.tar.lz
dexon-sol-tools-aa63632fff4265e9d68a797dd6fcd5fe7b27245c.tar.xz
dexon-sol-tools-aa63632fff4265e9d68a797dd6fcd5fe7b27245c.tar.zst
dexon-sol-tools-aa63632fff4265e9d68a797dd6fcd5fe7b27245c.zip
Remove unused function parameter in index.ts script
Diffstat (limited to 'packages/pipeline')
-rw-r--r--packages/pipeline/src/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/pipeline/src/index.ts b/packages/pipeline/src/index.ts
index 165ff9780..136d7a64b 100644
--- a/packages/pipeline/src/index.ts
+++ b/packages/pipeline/src/index.ts
@@ -31,7 +31,7 @@ let connection: Connection;
await getExchangeEventsAsync(provider);
await getBlockAsync(provider);
await getTransactionAsync(provider);
- await getRelayers(RELAYER_REGISTRY_URL);
+ await getRelayers();
process.exit(0);
})();
@@ -74,7 +74,7 @@ async function getTransactionAsync(provider: Web3ProviderEngine): Promise<void>
console.log('Done saving tx.');
}
-async function getRelayers(url: string): Promise<void> {
+async function getRelayers(): Promise<void> {
console.log('Getting relayer info...');
const relayerRepository = connection.getRepository(Relayer);
const relayerSource = new RelayerRegistrySource(RELAYER_REGISTRY_URL);