change comparison treshold

pull/1334/head
yann300 3 years ago
parent 19f026db40
commit 11bed91025
  1. 3
      libs/remix-lib/src/util.ts

@ -225,8 +225,9 @@ export function compareByteCode (code1, code2) {
if (code1 && code2) {
const compare = stringSimilarity.compareTwoStrings(code1, code2)
return compare > 0.5
return compare > 0.93
}
return false
}
/* util extracted out from remix-ide. @TODO split this file, cause it mix real util fn with solidity related stuff ... */

Loading…
Cancel
Save