Normalize scriptpubkeys to lowercase

This commit is contained in:
Mononaut 2023-08-10 18:45:17 +09:00
parent ccd9642a01
commit 77a526b91c
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E

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) {