Solidity – How to Fix Invalid Address and Capitalization Checksum Errors

blockchainsoliditytransactions

Can anybody please help me fix this error? I do not know why it happens:

Error: Provided address is invalid, the capitalization
checksum test failed, or its an indrect IBAN address which can't be
converted

enter image description here

I tried it on remix and it works

enter image description here

Best Answer

It it may help, I have the same error with the following function :

function addpartner(address partner, uint percent) {}

The error disappears if I switch the parameters :

function addpartner(uint percent, address partner) {}

It doesn't explain the error's origin, but you could try to switch your _a and _id parameters. May be a etheratom bug ?

Related Topic