aboutsummaryrefslogtreecommitdiffstats
path: root/src/ark/exit.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/ark/exit.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/ark/exit.js')
-rw-r--r--src/ark/exit.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ark/exit.js b/src/ark/exit.js
index 616c6a1..dd8715b 100644
--- a/src/ark/exit.js
+++ b/src/ark/exit.js
@@ -71,11 +71,11 @@ function exitChain(vtxo, serverPub, sizeOnly) {
const t = vtxo.genesis[i].transition;
let witness;
if (t.type === 'cosigned' || t.type === 'arkoor') {
- if (!t.signature) throw new Error('vtxo chain is missing a signature — cannot exit');
+ if (!t.signature) throw new Error('vtxo chain is missing a signature: cannot exit');
witness = [hex.decode(t.signature)];
} else if (t.type === 'hashLockedCosigned') {
if (!t.signature || !t.unlock?.preimage) {
- throw new Error('vtxo chain is missing its unlock preimage — cannot exit');
+ throw new Error('vtxo chain is missing its unlock preimage: cannot exit');
}
const preimage = hex.decode(t.unlock.preimage);
if (sizeOnly) {