title: Solidity require(msg.value >=...) does not work
body: <p>Hello I want to make an NFT contract.<br> Unfortunately something does not work correctly. Whenever I run the Mint function I get the message that I don't have enough ether. But I have 100 Ether on my testnet wallet.
  What have I done wrong?</p>
  <pre><code>// SPDX-License-Identifier: MIT
  pragma solidity 0.8.11;
  
  import &quot;@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol&quot;;
  import &quot;@openzeppelin/contracts/access/Ownable.sol&quot;;
  
  contract NFTTest is ERC1155Supply, Ownable {
      uint256 public price = 0.005 ether;
      string public name = &quot;NFT TEST&quot;;
  
      constructor() ERC1155(&quot;https://do.main&quot;) {}
  
      function setName(string memory _name) public onlyOwner 
      {
          name = _name;
      }
  
      function getName() public view returns (string memory) 
      {
         return name;
      }
  
      function mint(uint256 amount) external payable {
          require(msg.value &gt;= price, &quot;Not enough cash&quot;);
          _mint(msg.sender, amount, 1, &quot;&quot;);
      } 
  }```
  </code></pre>