From 4fda951877bfd5af78cadac268f0926d2a5ea35b Mon Sep 17 00:00:00 2001 From: Oleksii Matiiasevych Date: Fri, 5 May 2017 10:01:51 +0800 Subject: [PATCH] Review Bets --- contracts/Bets.sol | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/contracts/Bets.sol b/contracts/Bets.sol index 6647ec7..fd06ee3 100644 --- a/contracts/Bets.sol +++ b/contracts/Bets.sol @@ -65,6 +65,7 @@ contract Bets { } function searchGame(string descr) constant returns (uint index) { + // What if there is millions of games? Maybe searches should take constant time whenever possible. for (var i=0; i