gerty lnbits walllet working

This commit is contained in:
ben
2022-12-14 14:07:05 +00:00
parent b6db683f30
commit 7ce2587bdb
3 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ from .crud import get_mempool_info
from .number_prefixer import *
from ...settings import LNBITS_PATH
from lnbits.utils.exchange_rates import satoshis_amount_as_fiat
from lnbits.core.crud import get_user, get_wallet_for_key
def get_percent_difference(current, previous, precision=3):
difference = (current - previous) / current * 100