commit e4659327a136f18fde59e4a1f60f45f3e16f22d6
parent 4d985691d667964959fab2823ce6d46dc73e4a80
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 31 Aug 2017 09:55:44 +0200
fix #2645: do not call tx.get_fee from plugin
Diffstat:
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/plugins/ledger/ledger.py b/plugins/ledger/ledger.py
@@ -389,13 +389,8 @@ class Ledger_KeyStore(Hardware_KeyStore):
while inputIndex < len(inputs):
self.get_client().startUntrustedTransaction(firstTransaction, inputIndex,
chipInputs, redeemScripts[inputIndex])
- if not p2shTransaction:
- outputData = self.get_client().finalizeInput(output, format_satoshis_plain(outputAmount),
- format_satoshis_plain(tx.get_fee()), changePath, bfh(rawTx))
- else:
- outputData = self.get_client().finalizeInputFull(txOutput)
- outputData['outputData'] = txOutput
-
+ outputData = self.get_client().finalizeInputFull(txOutput)
+ outputData['outputData'] = txOutput
if firstTransaction:
transactionOutput = outputData['outputData']
if outputData['confirmationNeeded']: