Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Apr 6, 2021
1 parent e69fde2 commit b28371b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/grants/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1736,7 +1736,7 @@ def blockexplorer_url_helper(self, tx_id):
if self.checkout_type == 'eth_zksync':
return f'https://zkscan.io/explorer/transactions/{tx_id.replace("sync-tx:", "")}'
if self.checkout_type == 'eth_std':
network_sub = f"{{self.subscription.network}}." if self.subscription and self.subscription.network != 'mainnet' else ''
network_sub = f"{self.subscription.network}." if self.subscription and self.subscription.network != 'mainnet' else ''
return f'https://{network_sub}etherscan.io/tx/{tx_id}'
# TODO: support all block explorers for diff chains
return ''
Expand Down

0 comments on commit b28371b

Please sign in to comment.