Ignore case on coinbase tag regexes

This commit is contained in:
nymkappa committed 2022-04-22 03:25:34 -04:00
1 parent cd35ae0b78
commit 621a308b99
1 file changed
+2 -1
+2 -1
View File
@@ -179,7 +179,8 @@ class Blocks {
const regexes: string[] = JSON.parse(pools[i].regexes);
for (let y = 0; y < regexes.length; ++y) {
const match = asciiScriptSig.match(regexes[y]);
const regex = new RegExp(regexes[y], 'i');
const match = asciiScriptSig.match(regex);
if (match !== null) {
return pools[i];
}