fix comment for bindError method

This commit is contained in:
Jared Wasinger 2024-12-18 16:24:09 +07:00 committed by Felix Lange
parent f90a88e85a
commit 915c7e83c9

View file

@ -176,7 +176,7 @@ func (cb *contractBinder) bindEvent(original abi.Event) error {
return nil
}
// bindEvent normalizes an error and registers it to be emitted in the bindings.
// bindError normalizes an error and registers it to be emitted in the bindings.
func (cb *contractBinder) bindError(original abi.Error) error {
normalizedName, err := cb.RegisterErrorIdentifier(original.Name)
if err != nil {