diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-14 09:56:01 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-11-14 09:56:01 +0800 |
commit | 49898525afde7e6a761220fcc46dc16993d85c03 (patch) | |
tree | f6b9dfad7517d626b6659ac1a6620a57e1067290 /packages | |
parent | 08963f269b543d0f6f125ff77efdda23339865ed (diff) | |
download | dexon-0x-contracts-49898525afde7e6a761220fcc46dc16993d85c03.tar dexon-0x-contracts-49898525afde7e6a761220fcc46dc16993d85c03.tar.gz dexon-0x-contracts-49898525afde7e6a761220fcc46dc16993d85c03.tar.bz2 dexon-0x-contracts-49898525afde7e6a761220fcc46dc16993d85c03.tar.lz dexon-0x-contracts-49898525afde7e6a761220fcc46dc16993d85c03.tar.xz dexon-0x-contracts-49898525afde7e6a761220fcc46dc16993d85c03.tar.zst dexon-0x-contracts-49898525afde7e6a761220fcc46dc16993d85c03.zip |
Fix tslint issue
Diffstat (limited to 'packages')
-rw-r--r-- | packages/0x.js/src/utils/abi_decoder.ts | 2 |
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; |