diff --git a/eth_defi/hotwallet.py b/eth_defi/hotwallet.py index 714afe6e..b412f574 100644 --- a/eth_defi/hotwallet.py +++ b/eth_defi/hotwallet.py @@ -72,10 +72,14 @@ def __repr__(self): @property def raw_transaction(self) -> HexBytes: - """Get the bytes to be broadcasted to the P2P network.""" + """Get the bytes to be broadcasted to the P2P network. + + Legacy web3.py compatibility. + """ return self.rawTransaction def __getitem__(self, index): + # Legacy web3.py compatibility. return __getitem__(self, index) diff --git a/pyproject.toml b/pyproject.toml index 5d144594..a40f80f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "web3-ethereum-defi" -version = "0.22.23" +version = "0.22.24" description = "Python library for Uniswap, Aave, ChainLink, Enzyme and other protocols on BNB Chain, Polygon, Ethereum and other blockchains" authors = ["Mikko Ohtamaa "] license = "MIT"