aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-14 09:56:01 +0800
committerFabio Berger <me@fabioberger.com>2017-11-14 09:56:01 +0800
commit49898525afde7e6a761220fcc46dc16993d85c03 (patch)
treef6b9dfad7517d626b6659ac1a6620a57e1067290
parent08963f269b543d0f6f125ff77efdda23339865ed (diff)
downloaddexon-sol-tools-49898525afde7e6a761220fcc46dc16993d85c03.tar
dexon-sol-tools-49898525afde7e6a761220fcc46dc16993d85c03.tar.gz
dexon-sol-tools-49898525afde7e6a761220fcc46dc16993d85c03.tar.bz2
dexon-sol-tools-49898525afde7e6a761220fcc46dc16993d85c03.tar.lz
dexon-sol-tools-49898525afde7e6a761220fcc46dc16993d85c03.tar.xz
dexon-sol-tools-49898525afde7e6a761220fcc46dc16993d85c03.tar.zst
dexon-sol-tools-49898525afde7e6a761220fcc46dc16993d85c03.zip
Fix tslint issue
-rw-r--r--packages/0x.js/src/utils/abi_decoder.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/src/utils/abi_decoder.ts b/packages/0x.js/src/utils/abi_decoder.ts
index 840ad9be0..df0fb2d6f 100644
--- a/packages/0x.js/src/utils/abi_decoder.ts
+++ b/packages/0x.js/src/utils/abi_decoder.ts
@@ -34,7 +34,7 @@ export class AbiDecoder {
value = this.padZeros(new BigNumber(value).toString(16));
} else if (param.type === SolidityTypes.Uint256 ||
param.type === SolidityTypes.Uint8 ||
- param.type === SolidityTypes.Uint ) {
+ param.type === SolidityTypes.Uint) {
value = new BigNumber(value);
}
decodedParams[param.name] = value;