You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The parsed amount appears to be a non standard denomination.
As is:
For example, an invoice with amount SAT 50,000 parses to 500 (500 of what?).
To be:
The amount should be parsed to either Sats or Millisats (50,000 or 50,000,000), or ideally, both.
Example Invoice:
lntb500u1pjjdp9kpp5ujwdkw8d0cf8cy3hzs6yxzawat0uscg37ll5ret4w7era3009kasdqqcqzzsxqyz5vqsp5pdu05r2lcu0l7l5uw0jf9jfwy4qs8pjs8n78zz8zv8nrvtl9mj5q9qyyssqnc9r9n7xyh6dzg23hnvtnn7xd0qgtn8fy3spjdcqu64af87wj74ncfwhv8lrfhc2tngkaj2c743y0pevfcu0c9lxm2plj97my5kclgsqflgg34
The text was updated successfully, but these errors were encountered:
@leocape Look at multiplier field. It represents denomination. In this case it is u, so you need to multiply it by 100_000 to get msats and then to divide it by 1_000 to get sats.
Hi
The parsed amount appears to be a non standard denomination.
As is:
For example, an invoice with amount SAT 50,000 parses to 500 (500 of what?).
To be:
The amount should be parsed to either Sats or Millisats (50,000 or 50,000,000), or ideally, both.
Example Invoice:
lntb500u1pjjdp9kpp5ujwdkw8d0cf8cy3hzs6yxzawat0uscg37ll5ret4w7era3009kasdqqcqzzsxqyz5vqsp5pdu05r2lcu0l7l5uw0jf9jfwy4qs8pjs8n78zz8zv8nrvtl9mj5q9qyyssqnc9r9n7xyh6dzg23hnvtnn7xd0qgtn8fy3spjdcqu64af87wj74ncfwhv8lrfhc2tngkaj2c743y0pevfcu0c9lxm2plj97my5kclgsqflgg34
The text was updated successfully, but these errors were encountered: