From e2ec76189879a6393e834cfa8760f02dfb8dc223 Mon Sep 17 00:00:00 2001 From: matejcik Date: Wed, 8 Sep 2021 11:18:35 +0200 Subject: [PATCH] fix(python/stellar): use boolean value for `is_authorized` [no changelog] --- python/src/trezorlib/stellar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/trezorlib/stellar.py b/python/src/trezorlib/stellar.py index c174d4ea6..74e3a0585 100644 --- a/python/src/trezorlib/stellar.py +++ b/python/src/trezorlib/stellar.py @@ -207,7 +207,7 @@ def _read_operation(op: "Operation"): trusted_account=op.trustor, asset_type=asset_type, asset_code=op.asset_code, - is_authorized=op.authorize.value, + is_authorized=bool(op.authorize.value), ) if isinstance(op, AccountMerge): return messages.StellarAccountMergeOp(