Use a variable as ether amount in a require function

前端 未结 0 1626
失恋的感觉
失恋的感觉 2020-12-19 04:03

Here is what I have:

require(msg.value > .01 ether, \'Minimum amount required not met\');

the code above works fine but I want to do is us

相关标签:
回答
  • 消灭零回复
提交回复
热议问题