Fixes for TrustedCoin plugin:
- reset billing_info after broadcast - when bumping tx fee, do not use Trustedcoin output
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user