fix fee computation in sweep
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user