aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/utils
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-15 01:25:44 +0800
committerGitHub <noreply@github.com>2017-11-15 01:25:44 +0800
commit05de07496fe3f9089b4c96b0594b234afc436304 (patch)
tree9baaf5ffa81aa05cdfb08dd888899b931a716896 /packages/0x.js/src/utils
parent247b4686fad239a461ade557e511a41091364e44 (diff)
parentab9dc66b8fd072aa4b8555126d0727af47dda059 (diff)
downloaddexon-sol-tools-05de07496fe3f9089b4c96b0594b234afc436304.tar
dexon-sol-tools-05de07496fe3f9089b4c96b0594b234afc436304.tar.gz
dexon-sol-tools-05de07496fe3f9089b4c96b0594b234afc436304.tar.bz2
dexon-sol-tools-05de07496fe3f9089b4c96b0594b234afc436304.tar.lz
dexon-sol-tools-05de07496fe3f9089b4c96b0594b234afc436304.tar.xz
dexon-sol-tools-05de07496fe3f9089b4c96b0594b234afc436304.tar.zst
dexon-sol-tools-05de07496fe3f9089b4c96b0594b234afc436304.zip
Merge pull request #220 from 0xProject/feature/addTsLintPackage
Add TSLint Config package
Diffstat (limited to 'packages/0x.js/src/utils')
-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;