mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-10 22:13:47 +00:00
fix comment for bindError method
This commit is contained in:
parent
f90a88e85a
commit
915c7e83c9
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ func (cb *contractBinder) bindEvent(original abi.Event) error {
|
||||||
return nil
|
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 {
|
func (cb *contractBinder) bindError(original abi.Error) error {
|
||||||
normalizedName, err := cb.RegisterErrorIdentifier(original.Name)
|
normalizedName, err := cb.RegisterErrorIdentifier(original.Name)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue