Add service fee to specific wallet (#2050)
* add service fee to specific wallet * add to .env.example * Added service fee wallet to manage server * cleaned * prettier * Added badge for service fee * Added tooltip * Added service fee max * allow ignoring service fee for internal transactions * add fee_reserve_total helper funciton that includes service_fee * html for admin ui * typo * Update .env.example Co-authored-by: Pavol Rusnak <pavol@rusnak.io> * fix .env.template comment * bundle * WIP: expose fee reserve endpoint --------- Co-authored-by: Arc <ben@arc.wales> Co-authored-by: dni ⚡ <office@dnilabs.com> Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
This commit is contained in:
co-authored by
Pavol Rusnak
Arc
dni ⚡
parent
4dcf26bcb3
commit
6a27b91fcb
@@ -59,6 +59,9 @@ def template_renderer(additional_folders: Optional[List] = None) -> Jinja2Templa
|
||||
t.env.globals["LNBITS_VERSION"] = settings.version
|
||||
t.env.globals["LNBITS_NEW_ACCOUNTS_ALLOWED"] = settings.new_accounts_allowed
|
||||
t.env.globals["LNBITS_ADMIN_UI"] = settings.lnbits_admin_ui
|
||||
t.env.globals["LNBITS_SERVICE_FEE"] = settings.lnbits_service_fee
|
||||
t.env.globals["LNBITS_SERVICE_FEE_MAX"] = settings.lnbits_service_fee_max
|
||||
t.env.globals["LNBITS_SERVICE_FEE_WALLET"] = settings.lnbits_service_fee_wallet
|
||||
t.env.globals["LNBITS_NODE_UI"] = (
|
||||
settings.lnbits_node_ui and get_node_class() is not None
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user