Skip to content

Commit

Permalink
grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
josipbagaric committed Aug 23, 2018
1 parent 4e8203d commit 1a4b05a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EconomicStrategy/EconomicStrategyHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { BigNumber } from 'bignumber.js';
import { ITxRequest, Address } from '../Types';
import { EconomicStrategyStatus } from '../Enum';

const CLAIMING_GAS_ESTIMATION = 100000; // Claiming gas is around 75k, we add a small surplus
const CLAIMING_GAS_ESTIMATE = 100000; // Claiming gas is around 75k, we add a small surplus

/**
* Checks whether a transaction requires a deposit that's higher than a
Expand Down Expand Up @@ -81,7 +81,7 @@ const isAboveMinBalanceLimit = async (config: Config, nextAccount: Address): Pro
*/
const isProfitable = async (txRequest: ITxRequest, config: Config): Promise<boolean> => {
const paymentModifier = await txRequest.claimPaymentModifier();
const claimingGas = new BigNumber(CLAIMING_GAS_ESTIMATION);
const claimingGas = new BigNumber(CLAIMING_GAS_ESTIMATE);
const claimingGasPrice = await config.util.networkGasPrice();
const claimingGasCost = claimingGasPrice.times(claimingGas);

Expand Down

0 comments on commit 1a4b05a

Please sign in to comment.