diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-02-07 03:48:56 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-02-07 03:48:56 +0800 |
commit | 6bdabe72b955b0a5cc613fea61b7eacee606d5a9 (patch) | |
tree | 40addc35e105fb905dfb32f0482fb90af4255349 | |
parent | 5fcb77e591c612be8beef1a3761132e053eaf8f3 (diff) | |
download | dexon-sol-tools-6bdabe72b955b0a5cc613fea61b7eacee606d5a9.tar dexon-sol-tools-6bdabe72b955b0a5cc613fea61b7eacee606d5a9.tar.gz dexon-sol-tools-6bdabe72b955b0a5cc613fea61b7eacee606d5a9.tar.bz2 dexon-sol-tools-6bdabe72b955b0a5cc613fea61b7eacee606d5a9.tar.lz dexon-sol-tools-6bdabe72b955b0a5cc613fea61b7eacee606d5a9.tar.xz dexon-sol-tools-6bdabe72b955b0a5cc613fea61b7eacee606d5a9.tar.zst dexon-sol-tools-6bdabe72b955b0a5cc613fea61b7eacee606d5a9.zip |
Prettier
-rw-r--r-- | packages/testnet-faucets/README.md | 1 | ||||
-rw-r--r-- | packages/testnet-faucets/src/ts/handler.ts | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/testnet-faucets/README.md b/packages/testnet-faucets/README.md index 6cd842ea6..2f6ae347f 100644 --- a/packages/testnet-faucets/README.md +++ b/packages/testnet-faucets/README.md @@ -90,7 +90,6 @@ Returns a JSON payload describing the state of the queues for each network. For Schedules a transaction that sends 0.1 ETH to the `recipient` on the network specified by `networkId` where `recipient` is a hex encoded Ethereum address prefixed with `0x`. If no `networkId` is provided via query parameters the faucet will default to network 42 (Kovan). - `GET /zrx/:recipient?networkId=:networkId` Schedules a transaction that sends 0.1 ZRX to the `recipient` on the network specified by `networkId` where `recipient` is a hex encoded Ethereum address prefixed with `0x`. If no `networkId` is provided via query parameters the faucet will default to network 42 (Kovan). diff --git a/packages/testnet-faucets/src/ts/handler.ts b/packages/testnet-faucets/src/ts/handler.ts index 1dae8a47f..e9ced3437 100644 --- a/packages/testnet-faucets/src/ts/handler.ts +++ b/packages/testnet-faucets/src/ts/handler.ts @@ -54,7 +54,9 @@ export class Handler { res.status(503).send('QUEUE_IS_FULL'); return; } - utils.consoleLog(`Added ${req.params.recipient} to queue: ${requestedAssetType} networkId: ${req.params.networkId}`); + utils.consoleLog( + `Added ${req.params.recipient} to queue: ${requestedAssetType} networkId: ${req.params.networkId}`, + ); res.status(200).end(); } private static _createProviderEngine(rpcUrl: string) { |