[bug] invalid price defaults to 0tz #415
Labels
🐛 bug
Something isn't working
🧹 needs triage
The issue/PR was not yet reviewed by a maintainer
🥵 Priority: Critical
This should be dealt with ASAP. Not fixing this issue would be a serious error.
Describe the bug
Hey sorry to bother you but my friend told me you’re a teia dev! I just wanted to let you know that I happened to list a piece twice today from the http://teia.art site and both times it was listed at 0 xtz instead of 3.5 as I intended. It’s the second time it happens to me, not a big trouble but I just wanted to let you know in case there might be some sort of bug on the platform. Hope it helps!
-- limbo
Reproduction
swap an objkt for 3,5 tez (hence the comma)
check the rpc call
see that it put 0 as price, and not 3500000
Expected behavior
should abort transaction and show an error
Platform and versions
Console output
NaN with 3,5 as input
3.5 with 3.5 as input
The text was updated successfully, but these errors were encountered: