Fix linter
This commit is contained in:
parent
4034eb7655
commit
1a44d86c59
@ -1,4 +1,4 @@
|
|||||||
import { addressUtils, BigNumber } from '@0x/utils';
|
import { addressUtils } from '@0x/utils';
|
||||||
import {
|
import {
|
||||||
BlockParam,
|
BlockParam,
|
||||||
BlockParamLiteral,
|
BlockParamLiteral,
|
||||||
@ -122,7 +122,9 @@ export const marshaller = {
|
|||||||
...txDataRpc,
|
...txDataRpc,
|
||||||
value: !_.isUndefined(txDataRpc.value) ? utils.convertAmountToBigNumber(txDataRpc.value) : undefined,
|
value: !_.isUndefined(txDataRpc.value) ? utils.convertAmountToBigNumber(txDataRpc.value) : undefined,
|
||||||
gas: !_.isUndefined(txDataRpc.gas) ? utils.convertHexToNumber(txDataRpc.gas) : 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,
|
nonce: !_.isUndefined(txDataRpc.nonce) ? utils.convertHexToNumber(txDataRpc.nonce) : undefined,
|
||||||
};
|
};
|
||||||
return txData;
|
return txData;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user