aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-15 09:56:53 -0700
committerAdam Soltys <[email protected]>2026-06-15 09:56:53 -0700
commit59359581ae8a25a6a55f9e9122b94ceca20e186b (patch)
treee723667752c47d4ce0a223d1bb402fde55cd9b62 /src
parentbb57b3cc0fffc2657b4ad09a07ae5e6989345875 (diff)
downloadcoinosv3-59359581ae8a25a6a55f9e9122b94ceca20e186b.tar.gz
coinosv3-59359581ae8a25a6a55f9e9122b94ceca20e186b.zip
Set amount step to 0.00000001 for BTC (1 for sats)
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app.js b/src/app.js
index 4f759bc..208af57 100644
--- a/src/app.js
+++ b/src/app.js
@@ -626,7 +626,8 @@ function sendForm() {
'div',
{ class: 'input-group' },
h('input', {
- type: 'number', step: 'any', min: '0', placeholder: s.unit === 'sats' ? '0' : '0.00000000',
+ type: 'number', step: s.unit === 'sats' ? '1' : '0.00000001', min: '0',
+ placeholder: s.unit === 'sats' ? '0' : '0.00000000',
disabled: s.max,
value: s.max
? (s.unit === 'sats' ? String(estimatedMaxSats()) : fmtBtc(estimatedMaxSats()))