Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
belopash committed Jan 23, 2024
1 parent bf6e59c commit d82c72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evm/evm-typegen/src/abi.support.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class Func<Args extends any[], FieldArgs, Result> {
}

is(rec: FuncRecord): boolean {
let sighash = rec.sighash ? rec.sighash : rec.input.slice(0, 6)
let sighash = rec.sighash ? rec.sighash : rec.input.slice(0, 10)
return sighash === this.sighash
}

Expand Down

0 comments on commit d82c72f

Please sign in to comment.