commit 5d52dc204cc85a6660d2790769ecd7128d228646
parent 1686a97ece31aaa1d2c0e6c7042137a5e8a04943
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:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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