Skip to content

Commit 563458d

Browse files
committed
remove whitespaces
1 parent 1f3edbf commit 563458d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/apis/web3api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def get_transaction(self, tx_hash: str) -> Optional[TxData]:
8585
transaction = None
8686

8787
return transaction
88-
88+
8989
def get_tx_block_number(self, tx_hash: str) -> Optional[int]:
9090
"""
9191
Takes tx hash as input, returns block number where tx took place.
@@ -94,8 +94,8 @@ def get_tx_block_number(self, tx_hash: str) -> Optional[int]:
9494
if transaction is None:
9595
return None
9696
else:
97-
return transaction['blockNumber']
98-
97+
return transaction["blockNumber"]
98+
9999
def get_receipt(self, tx_hash: str) -> Optional[TxReceipt]:
100100
"""
101101
Get the receipt of a transaction from the transaction hash.

0 commit comments

Comments
 (0)