mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-09 13:33:50 +00:00
accounts/abi: use errors package in the error file.
Signed-off-by: RJ Catalano <rj@monax.io>
This commit is contained in:
parent
3afa23f2d5
commit
ef557bb759
1 changed files with 2 additions and 1 deletions
|
|
@ -17,12 +17,13 @@
|
||||||
package abi
|
package abi
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"reflect"
|
"reflect"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
errBadBool error = "abi: improperly encoded boolean value"
|
errBadBool error = errors.New("abi: improperly encoded boolean value")
|
||||||
)
|
)
|
||||||
|
|
||||||
// formatSliceString formats the reflection kind with the given slice size
|
// formatSliceString formats the reflection kind with the given slice size
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue