aboutsummaryrefslogtreecommitdiffstats
path: root/src/bip353.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-27 15:07:30 -0700
committerAdam Soltys <[email protected]>2026-09-27 15:07:30 -0700
commite6035849f9b88bdd8cd665b868bbe121fa77e538 (patch)
treeb575589cf8757cfd61e25db2cdd24b106a8befff /src/bip353.js
parent3da7f9d52dee6a535190cd5e0db152a3689c7e8e (diff)
downloadcoinosv3-e6035849f9b88bdd8cd665b868bbe121fa77e538.tar.gz
coinosv3-e6035849f9b88bdd8cd665b868bbe121fa77e538.zip
Copy: no more em dashes, anywhere people read.
Every English string, the translations, the README and the messages the code shows people now break with a full stop, a colon or a comma instead. Only console logs and the "—" placeholder for an empty cell keep the dash. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01VhUKyXKtsJ67QAFfb7QR9D
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];
}