Skip to content

Commit

Permalink
fix: type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrodn authored Oct 14, 2022
1 parent f179214 commit ebb0d1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/solana/rpc/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ def _get_token_accounts_convert(
)
maybe_mint = opts.mint
maybe_program_id = opts.program_id
filter_to_use: Union[RpcTokenAccountsFilterMint, RpcTokenAccountsFilterProgramId]
if maybe_mint is not None:
filter_to_use = RpcTokenAccountsFilterMint(maybe_mint.to_solders())
elif maybe_program_id is not None:
Expand Down

0 comments on commit ebb0d1b

Please sign in to comment.