smartcontractkit / full-blockchain-solidity-course-js

Learn Blockchain, Solidity, and Full Stack Web3 Development with Javascript
12.4k stars 2.99k forks source link

transaction is revert inspite provinding the required eth #6459

Closed Dheeraj-cloud closed 7 months ago

Dheeraj-cloud commented 7 months ago

// SPDX-License-Identifier: MIT pragma solidity ^0.8.8;

contract fundMe{

function fund() public  payable  {
    require(msg.value > 1e18,"Dint send enough eth");

}

} here is the code

Dheeraj-cloud commented 7 months ago

resolved myself