-
` // SPDX-License-Identifier: MIT pragma solidity >=0.8.9 <0.9.0; import "@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol"; I am getting an error with the withdraw function as follows: from solidity: Please guide. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
hello @AyuK03
I hope this info might help. |
Beta Was this translation helpful? Give feedback.
hello @AyuK03
This is because you are trying to use solidity version 0.8, and there are some changes on that version, you have two solutions here.
payable(msg.sender).transfer....
.I hope this info might help.