1
0

Fixes for TrustedCoin plugin:

- reset billing_info after broadcast
- when bumping tx fee, do not use Trustedcoin output
This commit is contained in:
ThomasV
2017-07-06 16:03:21 +02:00
parent 6b872b68bd
commit 777a3aa8bf
4 changed files with 33 additions and 15 deletions

View File

@@ -1030,6 +1030,11 @@ class Abstract_Wallet(PrintError):
# ... unless there is none
if not s:
s = outputs
x_fee = run_hook('get_tx_extra_fee', self, tx)
if x_fee:
x_fee_address, x_fee_amount = x_fee
s = filter(lambda x: x[1]!=x_fee_address, s)
# prioritize low value outputs, to get rid of dust
s = sorted(s, key=lambda x: x[2])
for o in s: