1
0

fix fee computation in sweep

This commit is contained in:
ThomasV
2016-10-08 11:17:53 +02:00
parent 7abd902b92
commit 1e55f4fda0
4 changed files with 40 additions and 40 deletions

View File

@@ -2198,8 +2198,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
if not d.exec_():
return
fee = self.wallet.fee_per_kb(self.config)
tx = Transaction.sweep(get_pk(), self.network, get_address(), fee)
tx = self.wallet.sweep(get_pk(), self.network, self.config, get_address(), None)
if not tx:
self.show_message(_('No inputs found. (Note that inputs need to be confirmed)'))
return