diff options
Diffstat (limited to 'packages/utils/src/transaction_decoder.ts')
-rw-r--r-- | packages/utils/src/transaction_decoder.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/utils/src/transaction_decoder.ts b/packages/utils/src/transaction_decoder.ts index dd1b4d19a..9d567286e 100644 --- a/packages/utils/src/transaction_decoder.ts +++ b/packages/utils/src/transaction_decoder.ts @@ -36,9 +36,11 @@ export class TransactionDecoder { deploymentInfos?: DeployedContractInfo[], ): void { // Disregard definitions that are not functions + // tslint:disable no-unnecessary-type-assertion const functionAbis = _.filter(abiDefinitions, abiEntry => { return abiEntry.type === 'function'; }) as MethodAbi[]; + // tslint:enable no-unnecessary-type-assertion // Record function ABI's _.each(functionAbis, functionAbi => { const abiEncoder = new AbiEncoder.Method(functionAbi); |