web3-multicall-go icon indicating copy to clipboard operation
web3-multicall-go copied to clipboard

Assignment mismatch error

Open sabin88 opened this issue 2 years ago • 0 comments

I am trying to run one of the example functions, and I get this error. It happens during the compilation, it doesn't starts the call.

# github.com/alethio/web3-multicall-go/multicall
C:\Users\usr1\go\pkg\mod\github.com\alethio\[email protected]\multicall\viewcall.go:259:8: assignment mismatch: 1 variable but wrapperArgs.Unpack returns 2 values
C:\Users\usr1\go\pkg\mod\github.com\alethio\[email protected]\multicall\viewcall.go:259:37: too many arguments in call to wrapperArgs.Unpack
        have (*wrapperRet, []byte)
        want ([]byte)

sabin88 avatar Jul 04 '22 18:07 sabin88