aboutsummaryrefslogtreecommitdiffstats
path: root/src/bip353.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/bip353.js')
-rw-r--r--src/bip353.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bip353.js b/src/bip353.js
index efa1721..496fc80 100644
--- a/src/bip353.js
+++ b/src/bip353.js
@@ -21,7 +21,7 @@ export async function resolveBip353(name, domain) {
const uris = res.txts.filter((t) => /^bitcoin:/i.test(t));
if (!uris.length) return null;
// BIP-353: multiple bitcoin: TXT records at one label are invalid
- if (uris.length > 1) throw new Error('multiple payment records — invalid');
+ if (uris.length > 1) throw new Error('multiple payment records, invalid');
return uris[0];
}