event icon indicating copy to clipboard operation
event copied to clipboard

N/A instead of amounts

Open iWarpBTC opened this issue 1 year ago • 3 comments

Describe the bug

In order to try out PoS mode I was forced to turn on currency tracking. Then I turn both PoS and Currency off. Now when Zeus starts I'm getting N/A instead of sats amounts. It helps to turn Currency on and off again but only until next restart.

Reproduce

I think it will be enough to turn Currency on and off. Then reboot.

ZEUS version

v0.8.4

Node interface

LND (REST)

Network

Clearnet

Device

iPhone 15 Pro

Device operating system

17.5.1

Log output

No response

iWarpBTC avatar Jun 22 '24 16:06 iWarpBTC

I think we can easily fix this by changing the units to sats when currency is disabled.

kaloudis avatar Jun 22 '24 21:06 kaloudis

I think we can easily fix this by changing the units to sats when currency is disabled.

hmm, we already do that here: https://github.com/ZeusLN/zeus/blob/master/views/Settings/Currency.tsx#L130

are you saying N/A appears for the prices on the POS items pane? Are the items priced in fiat?

kaloudis avatar Jun 22 '24 21:06 kaloudis

N/A appears literally everywhere. image image

iWarpBTC avatar Jun 23 '24 05:06 iWarpBTC

This occurs when fiat is the selected unit the fiat rate server cannot be reached. You can either tap the amount to switch to BTC or sats units, or change your fiat rate server under Currency settings

kaloudis avatar Dec 17 '24 04:12 kaloudis