Debugging Solidity

Hi @Ahmad_Abd_Allah

Replace the line 28 with payable (msg.sender).transfer(amount);

We need to mark address as payable to transfer any amount. This is required in the new solidity compiler version.

1 Like