Skip to content

Commit

Permalink
Fixed typo in verifying gateway fee recipient
Browse files Browse the repository at this point in the history
  • Loading branch information
stevealexrs authored Aug 6, 2021
1 parent 32bb8f2 commit 9a5518a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion celo_sdk/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def fee_currency(self, new_fee_currency: str):

@gateway_fee_recipient.setter
def gateway_fee_recipient(self, new_gateway_fee_recipient: str):
if not self.web3.is_Address(new_gateway_fee_recipient):
if not self.web3.isAddress(new_gateway_fee_recipient):
raise TypeError("Incorrect gateway fee recipient")
self._gateway_fee_recipient = new_gateway_fee_recipient

Expand Down

1 comment on commit 9a5518a

@stevealexrs
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feature of non-statically typed language

Please sign in to comment.