From 5d52dc204cc85a6660d2790769ecd7128d228646 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Tue, 6 Nov 2018 16:17:18 +0100 Subject: [PATCH] coldcard: fix spending when there is no change follow-up 9037f25da13873c751a1a333b43bae29296b0c13 --- electrum/plugins/coldcard/coldcard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/plugins/coldcard/coldcard.py b/electrum/plugins/coldcard/coldcard.py index 8a348f3f6..444a34364 100644 --- a/electrum/plugins/coldcard/coldcard.py +++ b/electrum/plugins/coldcard/coldcard.py @@ -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