Skip to content

Commit

Permalink
Missing docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Jan 31, 2024
1 parent 79e9167 commit 5e968db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth_defi/hotwallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def private_key(self) -> HexBytes:
return self.account._private_key

def sync_nonce(self, web3: Web3):
"""Read the current nonce"""
"""Initialise the current nonce from the on-chain data."""
self.current_nonce = web3.eth.get_transaction_count(self.account.address)
logger.info("Synced nonce for %s to %d", self.account.address, self.current_nonce)

Expand Down

0 comments on commit 5e968db

Please sign in to comment.