fix(python/stellar): use boolean value for `is_authorized`

[no changelog]
pull/1825/head
matejcik 3 years ago committed by matejcik
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…
Cancel
Save