6

I am aware that miner can have influence on block.timestamp

My question is, how to avoid this warning?

enter image description here

gkucmierz
  • 773
  • 2
  • 8
  • 15
  • I've asked that previously, but have no answers https://ethereum.stackexchange.com/questions/16307/is-there-a-way-to-disable-a-warning-in-solidty-code. – Ismael Oct 26 '17 at 18:01

1 Answers1

3

I don't think there's currently a way to do this. (Either in Remix or in the Solidity code directly.)

The following open issues are relevant. You might want to follow them on GitHub directly:

  • #2675: Be able to disable all warnings for certain files
  • #2691: Allow comments to ignore compiler warnings.
Richard Horrocks
  • 37,835
  • 13
  • 87
  • 144