Fix linter

This commit is contained in:
Fabio Berger 2018-12-07 17:55:38 +00:00
parent 4034eb7655
commit 1a44d86c59

View File

@ -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;