givelotus / lotus-vase

A simple reference wallet for Lotus which supports mobile devices.
GNU General Public License v3.0
4 stars 2 forks source link

Fix amount processing on the receive screen from the pay-to URI #147

Closed schancel closed 3 years ago

schancel commented 3 years ago

Currently, there is a mismatch between the expectations on the send and receive screen with relation to the amount in the URI. This commit attempts to estimate if the amount when scanning a URI is in BCHA, or in sats. It converts BCHA to sats for the purpose of sending.