tcoldcard: fix spending when there is no change - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 5d52dc204cc85a6660d2790769ecd7128d228646 (DIR) parent 1686a97ece31aaa1d2c0e6c7042137a5e8a04943 (HTM) Author: SomberNight <somber.night@protonmail.com> Date: Tue, 6 Nov 2018 16:17:18 +0100 coldcard: fix spending when there is no change follow-up 9037f25da13873c751a1a333b43bae29296b0c13 Diffstat: M electrum/plugins/coldcard/coldcard… | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/electrum/plugins/coldcard/coldcard.py b/electrum/plugins/coldcard/coldcard.py t@@ -390,7 +390,7 @@ class Coldcard_KeyStore(Hardware_KeyStore): wallet.add_hw_info(tx) # wallet.add_hw_info installs this attr - assert tx.output_info, 'need data about outputs' + assert tx.output_info is not None, 'need data about outputs' # Build map of pubkey needed as derivation from master, in PSBT binary format # 1) binary version of the common subpath for all keys