change comparison treshold

pull/5370/head
yann300 3 years ago committed by joseph izang
parent ffb400a1e4
commit 60f5457dcb
  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