mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 17:01:34 +00:00
RBF batching: for now, let user deal with fee problems (honour slider)
This commit is contained in:
parent
436f6a4870
commit
d905f0e55e
1 changed files with 0 additions and 7 deletions
|
@ -572,10 +572,6 @@ class Abstract_Wallet(AddressSynchronizer):
|
|||
raise Exception("More than one output set to spend max")
|
||||
i_max = i
|
||||
|
||||
# Avoid index-out-of-range with inputs[0] below
|
||||
if not coins:
|
||||
raise NotEnoughFunds()
|
||||
|
||||
if fixed_fee is None and config.fee_per_kb() is None:
|
||||
raise NoDynamicFeeEstimates()
|
||||
|
||||
|
@ -621,9 +617,6 @@ class Abstract_Wallet(AddressSynchronizer):
|
|||
base_tx.deserialize(force_full_parse=True)
|
||||
base_tx.remove_signatures()
|
||||
base_tx.add_inputs_info(self)
|
||||
base_fee = base_tx.get_fee()
|
||||
fee_per_byte = Decimal(base_fee) / base_tx.estimated_size()
|
||||
fee_estimator = lambda size: base_fee + round(fee_per_byte * size)
|
||||
txi = base_tx.inputs()
|
||||
txo = list(filter(lambda o: not self.is_change(o.address), base_tx.outputs()))
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue