I am facing this error , My Contract is quite simple
pragma solidity ^0.5.0;
contract sendEther {
address payable sender;
function showReceiver() public view returns (address payable) {
return msg.sender;
}
function sendEtherToReceiver(address payable _receiver, uint256 _amount) public payable {
_receiver.transfer(_amount * 10**18);
}
}
Need help in fixing this, i am using MetaMask with ropsten test network
Below is attached screenshot and error too.