Fixed ABI argument assertion.
This commit is contained in:
parent
6f40dfdf77
commit
6aa853abc3
@ -818,7 +818,7 @@ export class Interface {
|
||||
topics.push(eventFragment.topicHash);
|
||||
}
|
||||
|
||||
assertArgument(values.length !== eventFragment.inputs.length,
|
||||
assertArgument(values.length === eventFragment.inputs.length,
|
||||
"event arguments/values mismatch", "values", values);
|
||||
|
||||
eventFragment.inputs.forEach((param, index) => {
|
||||
|
Loading…
Reference in New Issue
Block a user