mirror of
https://github.com/mempool/mempool.git
synced 2024-11-20 10:21:52 +01:00
Merge branch 'master' into nymkappa/bugfix/bisq-dump-loading
This commit is contained in:
commit
addfa45548
@ -181,7 +181,8 @@ class Blocks {
|
|||||||
|
|
||||||
const regexes: string[] = JSON.parse(pools[i].regexes);
|
const regexes: string[] = JSON.parse(pools[i].regexes);
|
||||||
for (let y = 0; y < regexes.length; ++y) {
|
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) {
|
if (match !== null) {
|
||||||
return pools[i];
|
return pools[i];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user