Blockchain

If comparing to height like this, consider moving the assignment outside of the loop.