mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 08:21:27 +00:00
low_fee threshold
This commit is contained in:
parent
8e0d1f1e44
commit
016d733c0f
1 changed files with 1 additions and 1 deletions
|
@ -924,7 +924,7 @@ class Abstract_Wallet(PrintError):
|
||||||
if fee and self.network and self.network.dynfee(0):
|
if fee and self.network and self.network.dynfee(0):
|
||||||
size = len(tx.raw)/2
|
size = len(tx.raw)/2
|
||||||
low_fee = int(self.network.dynfee(0)*size/1000)
|
low_fee = int(self.network.dynfee(0)*size/1000)
|
||||||
is_lowfee = fee < low_fee
|
is_lowfee = fee < low_fee * 0.5
|
||||||
else:
|
else:
|
||||||
is_lowfee = False
|
is_lowfee = False
|
||||||
if not is_final:
|
if not is_final:
|
||||||
|
|
Loading…
Add table
Reference in a new issue