SomberNight
6 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
3 changed files with
5 additions and
3 deletions
-
electrum/plugins/keepkey/keepkey.py
-
electrum/plugins/safe_t/safe_t.py
-
electrum/plugins/trezor/trezor.py
|
|
@ -289,7 +289,8 @@ class KeepKeyPlugin(HW_PluginBase): |
|
|
|
client = self.get_client(keystore) |
|
|
|
inputs = self.tx_inputs(tx, True) |
|
|
|
outputs = self.tx_outputs(keystore.get_derivation(), tx) |
|
|
|
signatures = client.sign_tx(self.get_coin_name(), inputs, outputs, lock_time=tx.locktime)[0] |
|
|
|
signatures = client.sign_tx(self.get_coin_name(), inputs, outputs, |
|
|
|
lock_time=tx.locktime, version=tx.version)[0] |
|
|
|
signatures = [(bh2u(x) + '01') for x in signatures] |
|
|
|
tx.update_signatures(signatures) |
|
|
|
|
|
|
|
|
|
@ -306,7 +306,8 @@ class SafeTPlugin(HW_PluginBase): |
|
|
|
client = self.get_client(keystore) |
|
|
|
inputs = self.tx_inputs(tx, True) |
|
|
|
outputs = self.tx_outputs(keystore.get_derivation(), tx) |
|
|
|
signatures = client.sign_tx(self.get_coin_name(), inputs, outputs, lock_time=tx.locktime)[0] |
|
|
|
signatures = client.sign_tx(self.get_coin_name(), inputs, outputs, |
|
|
|
lock_time=tx.locktime, version=tx.version)[0] |
|
|
|
signatures = [(bh2u(x) + '01') for x in signatures] |
|
|
|
tx.update_signatures(signatures) |
|
|
|
|
|
|
|
|
|
@ -310,7 +310,7 @@ class TrezorPlugin(HW_PluginBase): |
|
|
|
client = self.get_client(keystore) |
|
|
|
inputs = self.tx_inputs(tx, xpub_path, True) |
|
|
|
outputs = self.tx_outputs(keystore.get_derivation(), tx) |
|
|
|
details = SignTx(lock_time=tx.locktime) |
|
|
|
details = SignTx(lock_time=tx.locktime, version=tx.version) |
|
|
|
signatures, _ = client.sign_tx(self.get_coin_name(), inputs, outputs, details=details, prev_txes=prev_tx) |
|
|
|
signatures = [(bh2u(x) + '01') for x in signatures] |
|
|
|
tx.update_signatures(signatures) |
|
|
|