Normalize scriptpubkeys to lowercase

This commit is contained in:
Mononaut committed 2024-01-23 13:36:42 +00:00
1 parent ccd9642a01
commit 77a526b91c
1 file changed
+1 -1
+1 -1
View File
@@ -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) {