Skip to content

Commit

Permalink
fixed-time
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos committed Oct 20, 2023
1 parent 7c71280 commit 42e67a1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/lib/package/export_api_to_bucket.dart
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,14 @@ class ApiExporter {
if (md5Hash.length != info.md5Hash.length) {
return false;
}
// making sure the timing is fixed
var isSame = true;
for (var i = 0; i < md5Hash.length; i++) {
if (md5Hash[i] != info.md5Hash[i]) {
return false;
isSame = false;
}
}
return true;
return isSame;
}
}

Expand Down

0 comments on commit 42e67a1

Please sign in to comment.