mirror of
https://github.com/mempool/mempool.git
synced 2025-04-02 08:58:17 +02:00
Normalize scriptpubkeys to lowercase
This commit is contained in:
parent
ccd9642a01
commit
77a526b91c
@ -228,7 +228,7 @@ class WebsocketHandler {
|
||||
const spks: string[] = [];
|
||||
for (const spk of parsedMessage['track-scriptpubkeys']) {
|
||||
if (/^[a-fA-F0-9]+$/.test(spk)) {
|
||||
spks.push(spk);
|
||||
spks.push(spk.toLowerCase());
|
||||
}
|
||||
}
|
||||
if (spks.length) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user