Fix linter

This commit is contained in:
Fabio Berger
2018-12-07 17:55:38 +00:00
committed by Fred Carlsen
parent bc6492e352
commit 7527c61af5

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;