mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-20 21:38:26 +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,
|
trusted_account=op.trustor,
|
||||||
asset_type=asset_type,
|
asset_type=asset_type,
|
||||||
asset_code=op.asset_code,
|
asset_code=op.asset_code,
|
||||||
is_authorized=op.authorize.value,
|
is_authorized=bool(op.authorize.value),
|
||||||
)
|
)
|
||||||
if isinstance(op, AccountMerge):
|
if isinstance(op, AccountMerge):
|
||||||
return messages.StellarAccountMergeOp(
|
return messages.StellarAccountMergeOp(
|
||||||
|
Loading…
Reference in New Issue
Block a user