Browse Source
Merge pull request #8058 from prusnak/trezor-no-serialize
trezor: optimize signing speed by not serializing transaction in trezor
patch-4
ghost43
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
electrum/plugins/trezor/trezor.py
|
|
@ -363,6 +363,7 @@ class TrezorPlugin(HW_PluginBase): |
|
|
|
lock_time=tx.locktime, |
|
|
|
version=tx.version, |
|
|
|
amount_unit=self.get_trezor_amount_unit(), |
|
|
|
serialize=False, |
|
|
|
prev_txes=prev_tx) |
|
|
|
signatures = [(bh2u(x) + '01') for x in signatures] |
|
|
|
tx.update_signatures(signatures) |
|
|
|