aboutsummaryrefslogtreecommitdiffstats
path: root/packages/testnet-faucets/src/ts/ether_request_queue.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon@0xproject.com>2018-02-01 06:55:50 +0800
committerGitHub <noreply@github.com>2018-02-01 06:55:50 +0800
commit6682abf89dcdf566f05f8d88cb6af06c4bb1f6a2 (patch)
tree5a7b3b1601cf34c14be2ba462f5fd2db711e1f2b /packages/testnet-faucets/src/ts/ether_request_queue.ts
parent75539bf67537f202bc1075b096fd70f64705867e (diff)
parent78fbf0f7bade62a3d1c36bddf20cbe89c86aac18 (diff)
downloaddexon-sol-tools-6682abf89dcdf566f05f8d88cb6af06c4bb1f6a2.tar
dexon-sol-tools-6682abf89dcdf566f05f8d88cb6af06c4bb1f6a2.tar.gz
dexon-sol-tools-6682abf89dcdf566f05f8d88cb6af06c4bb1f6a2.tar.bz2
dexon-sol-tools-6682abf89dcdf566f05f8d88cb6af06c4bb1f6a2.tar.lz
dexon-sol-tools-6682abf89dcdf566f05f8d88cb6af06c4bb1f6a2.tar.xz
dexon-sol-tools-6682abf89dcdf566f05f8d88cb6af06c4bb1f6a2.tar.zst
dexon-sol-tools-6682abf89dcdf566f05f8d88cb6af06c4bb1f6a2.zip
Merge pull request #354 from 0xProject/feature/tslint-config/underscore-protected-members
Modify lint rules to enforce underscore for protected members
Diffstat (limited to 'packages/testnet-faucets/src/ts/ether_request_queue.ts')
-rw-r--r--packages/testnet-faucets/src/ts/ether_request_queue.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/testnet-faucets/src/ts/ether_request_queue.ts b/packages/testnet-faucets/src/ts/ether_request_queue.ts
index 1c4b19ab9..710d49f39 100644
--- a/packages/testnet-faucets/src/ts/ether_request_queue.ts
+++ b/packages/testnet-faucets/src/ts/ether_request_queue.ts
@@ -9,14 +9,14 @@ import { utils } from './utils';
const DISPENSE_AMOUNT_ETHER = 0.1;
export class EtherRequestQueue extends RequestQueue {
- protected async processNextRequestFireAndForgetAsync(recipientAddress: string) {
+ protected async _processNextRequestFireAndForgetAsync(recipientAddress: string) {
utils.consoleLog(`Processing ETH ${recipientAddress}`);
- const sendTransactionAsync = promisify(this.web3.eth.sendTransaction);
+ const sendTransactionAsync = promisify(this._web3.eth.sendTransaction);
try {
const txHash = await sendTransactionAsync({
from: configs.DISPENSER_ADDRESS,
to: recipientAddress,
- value: this.web3.toWei(DISPENSE_AMOUNT_ETHER, 'ether'),
+ value: this._web3.toWei(DISPENSE_AMOUNT_ETHER, 'ether'),
});
utils.consoleLog(`Sent ${DISPENSE_AMOUNT_ETHER} ETH to ${recipientAddress} tx: ${txHash}`);
} catch (err) {