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 {
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user