Correct comment

This commit is contained in:
Michael Vines
2018-09-30 00:08:09 -07:00
committed by GitHub
parent 83409ded59
commit 6db961d256

View File

@ -49,7 +49,7 @@ impl TicTacToeDashboardProgram {
} }
State::XWon | State::OWon | State::Draw => { State::XWon | State::OWon | State::Draw => {
if !self.completed.iter().any(|pubkey| pubkey == game_pubkey) { if !self.completed.iter().any(|pubkey| pubkey == game_pubkey) {
// TODO: Once the PoH high is exposed to programs, it could be used to ensure // TODO: Once the PoH height is exposed to programs, it could be used to ensure
// that old games are not being re-added and causing |total| to increment // that old games are not being re-added and causing |total| to increment
// incorrectly. // incorrectly.
self.total += 1; self.total += 1;