Start the topic count from 1.

pull/43/head
kraikov 4 years ago
parent 1878e7a2c9
commit 059e067b23
  1. 2
      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[] = [];

Loading…
Cancel
Save