mirror of
https://github.com/mempool/mempool.git
synced 2025-04-02 17:08:33 +02:00
Merge pull request #1564 from mempool/nymkappa/bugfix/binance-regex
Ignore case on coinbase tag regexes
This commit is contained in:
commit
d701bbb2d8
@ -181,7 +181,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];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user