I've switched from Solidity 0.7.2
to 0.8.2
And the addresses declared as payable (owner) are reporting they are "NOT payable" in the contract.
pragma solidity ^0.8.2;
contract MyContract {
address payable public owner;
constructor(address oracleAddress) {
owner = msg.sender;
priceFeed = AggregatorV3Interface(oracleAddress);
}
Results in..
TypeError: Type address is not implicitly convertible to expected type address payable
Was there a change that in 0.8.2
that causes this? What is the work around?