relayer
relayer copied to clipboard
fix: fix slice init length
The purpose here should be to initialize a slice with a capacity of len(call.Arguments) and a length of 0, and then append it later. Instead of initializing the length to len(call.Arguments) from the beginning, the resulting slice will not meet expectations.
The online demo: https://go.dev/play/p/q1BcVCmvidW