bump_fee: fix error message

This commit is contained in:
ThomasV 2016-10-15 10:57:18 +02:00
parent 227f3973a6
commit 4cc76c8a64
2 changed files with 2 additions and 2 deletions

View File

@ -2633,7 +2633,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
try:
new_tx = self.wallet.bump_fee(tx, delta)
except BaseException as e:
self.show_error(e)
self.show_error(str(e))
return
if is_final:
new_tx.set_sequence(0xffffffff)

View File

@ -1020,7 +1020,7 @@ class Abstract_Wallet(PrintError):
outputs[i] = otype, address, value - delta
break
else:
raise BaseException("cannot bump fee")
raise BaseException("cannot bump fee: could not find a change output")
new_tx = Transaction.from_io(inputs, outputs)
return new_tx