Commit 11bed910 authored by yann300's avatar yann300

change comparison treshold

parent 19f026db
...@@ -225,8 +225,9 @@ export function compareByteCode (code1, code2) { ...@@ -225,8 +225,9 @@ export function compareByteCode (code1, code2) {
if (code1 && code2) { if (code1 && code2) {
const compare = stringSimilarity.compareTwoStrings(code1, code2) const compare = stringSimilarity.compareTwoStrings(code1, code2)
return compare > 0.5 return compare > 0.93
} }
return false return false
} }
/* util extracted out from remix-ide. @TODO split this file, cause it mix real util fn with solidity related stuff ... */ /* util extracted out from remix-ide. @TODO split this file, cause it mix real util fn with solidity related stuff ... */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment