go-ethereum
go-ethereum copied to clipboard
accounts/abi: return toGoType error immediately
Returns the non-nil error before calculating next virtualArgs
Changes in this PR does not change any observable behavior. It just skips some additional calculation overhead before returning the error. Would you like me to add a test that actually returns an error for these methods? @gballet