diff --git a/packages/harmony-contract/src/abi/api.ts b/packages/harmony-contract/src/abi/api.ts index 9ec3cd5..e0dbaa3 100644 --- a/packages/harmony-contract/src/abi/api.ts +++ b/packages/harmony-contract/src/abi/api.ts @@ -90,7 +90,7 @@ export class AbiCoderClass { decodeLog(inputs: any, data = '', topics: any) { const returnValues: any = {}; - let topicCount = 0; + let topicCount = 1; let value; const nonIndexedInputKeys: any[] = []; const nonIndexedInputItems: any[] = [];