I am trying to send array of addresses as function argument
after that want to store them in my array
I am sending my addresses as:
"0x0000000000000000000000000000000000000001", "0x0000000000000000000000000000000000000002", "0x0000000000000000000000000000000000000003"
function enterAddresses(address[] myList ) public {
uint256 i = 0;
while (i < myList.length) {
myArray[i] = myList[i];
i++;
}
}
getting error :
Error encoding arguments: Error: types/values length mismatch
May 9, 2019, 12:46 PM