Skip to content

Instantly share code, notes, and snippets.

@kabachok2
Created October 14, 2018 08:39
Show Gist options
  • Save kabachok2/634549b48cb5e0bb96c822e44b5e4666 to your computer and use it in GitHub Desktop.
Save kabachok2/634549b48cb5e0bb96c822e44b5e4666 to your computer and use it in GitHub Desktop.
impracticable comparison
We have in line (53):
uint public LastBlock = block.number;
And in function new_block():
if (block.number > LastBlock)
block.number == LastBlock, Always equal, so the condition will never be met. We will not be able to use smarkontrakt to destination.
Need to remove LastBlock initialization.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment