fix wallet txfees

This commit is contained in:
2026-01-04 13:31:46 -04:00
parent b384ac562c
commit 51de310621
3 changed files with 26 additions and 4 deletions

5
bal.py
View File

@@ -27,7 +27,6 @@ def get_will(x):
class BalConfig():
def __init__(self, config, name, default):
print("init bal_config")
self.config = config
self.name = name
self.default = default
@@ -131,8 +130,8 @@ class BalPlugin(BasePlugin):
self.HIDE_REPLACED.set(self._hide_replaced)
def validate_will_settings(self,will_settings):
print(type(will_settings))
print(will_settings.get('baltx_fees',1),1)
#print(type(will_settings))
#print(will_settings.get('baltx_fees',1),1)
if int(will_settings.get('baltx_fees',1))<1:
will_settings['baltx_fees']=1
if not will_settings.get('threshold'):