mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
accounts/abi: fix panic message
Signed-off-by: RJ Catalano <rj@monax.io>
This commit is contained in:
parent
7a861d281d
commit
98a4ae555e
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ func readInteger(kind reflect.Kind, b []byte) interface{} {
|
|||
|
||||
func readBool(word []byte) (bool, error) {
|
||||
if len(word) != 32 {
|
||||
panic("abi: fatal error. Incorrect word length.")
|
||||
panic("abi: fatal error: incorrect word length")
|
||||
}
|
||||
improperEncoding := "abi: improperly encoded boolean value"
|
||||
for i, b := range word {
|
||||
|
|
|
|||
Loading…
Reference in a new issue