Fix Unmarshal type error

Can't put floats like 49.9 into int64
This commit is contained in:
ekzyis 2023-11-20 04:14:26 +01:00
parent 7b649c4d7d
commit dfdc20cbbd

View File

@ -17,7 +17,7 @@
<label for="stake">how much?</label>
<input name="stake" v-model="stake" type="number" min="0" placeholder="🗲 sats" />
<label for="certainty">how sure?</label>
<input name="certainty" v-model="certainty" type="range" min="0" max="1" step="0.001" />
<input name="certainty" v-model="certainty" type="range" min="0" max="1" step="0.01" />
<label>you receive:</label>
<label>{{ format(shares) }} {{ selected }} shares @ 🗲{{ format(price) }}</label>
<label>you pay:</label>