1
0

wallet: fix bump_fee when there are only change outputs

closes #5718
closes #5603
This commit is contained in:
SomberNight
2019-10-22 17:12:23 +02:00
parent aac0fe9ae6
commit d9b5ab3086
3 changed files with 60 additions and 0 deletions

View File

@@ -273,6 +273,7 @@ class CoinChooserBase(Logger):
Note: fee_estimator_vb expects virtual bytes
"""
assert outputs, 'tx outputs cannot be empty'
# Deterministic randomness from coins
utxos = [c['prevout_hash'] + str(c['prevout_n']) for c in coins]