Created
October 14, 2018 08:39
-
-
Save kabachok2/634549b48cb5e0bb96c822e44b5e4666 to your computer and use it in GitHub Desktop.
impracticable comparison
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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