accounts/abi: use errors package in the error file.

Signed-off-by: RJ Catalano <rj@monax.io>
This commit is contained in:
RJ Catalano 2017-06-23 07:27:49 -05:00
parent 3afa23f2d5
commit ef557bb759
No known key found for this signature in database
GPG key ID: D4AB109D9B5D6386

View file

@ -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