It looks like you're new here. If you want to get involved, click one of these buttons!
uint256 constant public maxGasPrice = 50000000000;
require(tx.gasprice <= maxGasPrice);</code>
Now, this tx: https://etherscan.io/tx/0x36aea85529b27cc2dd68d6343d9deb120c802ebe932d9c84ea6c961f46807d55 0.000005 Ether (5,000 Gwei) if i understand correctly, it's 5000000000000 wei, x100 more than maxGasPrice. What's wrong, my calculation or contract code? Thx.