diff options
author | Fabio Berger <me@fabioberger.com> | 2018-12-08 01:55:38 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-13 01:19:31 +0800 |
commit | 7527c61af57175b36362288b7f80bba92cb33774 (patch) | |
tree | bdd8cd61bd678c5e7eb14723e85327bef60c1e36 /packages | |
parent | bc6492e352f573f77b0daec8f2ae58fa57dc2852 (diff) | |
download | dexon-sol-tools-7527c61af57175b36362288b7f80bba92cb33774.tar.gz dexon-sol-tools-7527c61af57175b36362288b7f80bba92cb33774.tar.zst dexon-sol-tools-7527c61af57175b36362288b7f80bba92cb33774.zip |
Fix linter
Diffstat (limited to 'packages')
-rw-r--r-- | packages/web3-wrapper/src/marshaller.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/web3-wrapper/src/marshaller.ts b/packages/web3-wrapper/src/marshaller.ts index 7091a3bdb..4230f8eab 100644 --- a/packages/web3-wrapper/src/marshaller.ts +++ b/packages/web3-wrapper/src/marshaller.ts @@ -1,4 +1,4 @@ -import { addressUtils, BigNumber } from '@0x/utils'; +import { addressUtils } from '@0x/utils'; import { BlockParam, BlockParamLiteral, @@ -122,7 +122,9 @@ export const marshaller = { ...txDataRpc, value: !_.isUndefined(txDataRpc.value) ? utils.convertAmountToBigNumber(txDataRpc.value) : undefined, gas: !_.isUndefined(txDataRpc.gas) ? utils.convertHexToNumber(txDataRpc.gas) : undefined, - gasPrice: !_.isUndefined(txDataRpc.gasPrice) ? utils.convertAmountToBigNumber(txDataRpc.gasPrice) : undefined, + gasPrice: !_.isUndefined(txDataRpc.gasPrice) + ? utils.convertAmountToBigNumber(txDataRpc.gasPrice) + : undefined, nonce: !_.isUndefined(txDataRpc.nonce) ? utils.convertHexToNumber(txDataRpc.nonce) : undefined, }; return txData; |