diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-27 15:57:56 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-29 22:52:51 +0800 |
commit | 608e1c8960c985ca29305d46d9ce27e616d548f0 (patch) | |
tree | 72d9febd217065ed7dbaeff28ab64660501ced13 /packages/utils | |
parent | f8772d88505e59c3bd9669f949635205b80b1946 (diff) | |
download | dexon-sol-tools-608e1c8960c985ca29305d46d9ce27e616d548f0.tar dexon-sol-tools-608e1c8960c985ca29305d46d9ce27e616d548f0.tar.gz dexon-sol-tools-608e1c8960c985ca29305d46d9ce27e616d548f0.tar.bz2 dexon-sol-tools-608e1c8960c985ca29305d46d9ce27e616d548f0.tar.lz dexon-sol-tools-608e1c8960c985ca29305d46d9ce27e616d548f0.tar.xz dexon-sol-tools-608e1c8960c985ca29305d46d9ce27e616d548f0.tar.zst dexon-sol-tools-608e1c8960c985ca29305d46d9ce27e616d548f0.zip |
Remove unused code/variables from abi-decoder
Diffstat (limited to 'packages/utils')
-rw-r--r-- | packages/utils/src/abi_decoder.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/utils/src/abi_decoder.ts b/packages/utils/src/abi_decoder.ts index d0c1ddc7d..b75387e3e 100644 --- a/packages/utils/src/abi_decoder.ts +++ b/packages/utils/src/abi_decoder.ts @@ -16,7 +16,6 @@ import { addressUtils } from './address_utils'; import { BigNumber } from './configured_bignumber'; export class AbiDecoder { - private _savedABIs: AbiDefinition[] = []; private _methodIds: { [signatureHash: string]: EventAbi } = {}; constructor(abiArrays: AbiDefinition[][]) { _.forEach(abiArrays, this.addABI.bind(this)); @@ -87,6 +86,5 @@ export class AbiDecoder { this._methodIds[topic] = abi; } }); - this._savedABIs = this._savedABIs.concat(abiArray); } } |