Skip to content

Commit

Permalink
Merge pull request #26 from oraclize/randomDS_verification_fix
Browse files Browse the repository at this point in the history
Replace var with uint
  • Loading branch information
bertani authored Dec 5, 2017
2 parents 5efc5a8 + 28b1a41 commit 5d50f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oraclizeAPI_0.4.sol
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ contract usingOraclize {
function matchBytes32Prefix(bytes32 content, bytes prefix, uint n_random_bytes) internal returns (bool){
bool match_ = true;

for (var i=0; i< n_random_bytes; i++) {
for (uint256 i=0; i< n_random_bytes; i++) {
if (content[i] != prefix[i]) match_ = false;
}

Expand Down

0 comments on commit 5d50f7c

Please sign in to comment.