accounts/abi: fix typo in comment (#25271)

This commit is contained in:
Ikko Ashimine 2022-07-14 17:29:05 +09:00 committed by GitHub
parent e108d36575
commit 93f981bb61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -166,7 +166,7 @@ func ParseSelector(unescapedSelector string) (SelectorMarshaling, error) {
return SelectorMarshaling{}, fmt.Errorf("failed to parse selector '%s': unexpected string '%s'", unescapedSelector, rest) return SelectorMarshaling{}, fmt.Errorf("failed to parse selector '%s': unexpected string '%s'", unescapedSelector, rest)
} }
// Reassemble the fake ABI and constuct the JSON // Reassemble the fake ABI and construct the JSON
fakeArgs, err := assembleArgs(args) fakeArgs, err := assembleArgs(args)
if err != nil { if err != nil {
return SelectorMarshaling{}, fmt.Errorf("failed to parse selector: %v", err) return SelectorMarshaling{}, fmt.Errorf("failed to parse selector: %v", err)