mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 20:38:10 +00:00
fix(python/stellar): use boolean value for is_authorized
[no changelog]
This commit is contained in:
parent
399ee51be6
commit
e2ec761898
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user