mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +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
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue