Skip to content

Commit

Permalink
remove fixme waiting on json-rpc spec
Browse files Browse the repository at this point in the history
  • Loading branch information
pacrob committed Dec 17, 2021
1 parent 4a311ec commit 5c7863e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions web3/eth.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,11 +431,6 @@ async def wait_for_transaction_receipt(
)
except TransactionNotFound:
tx_receipt = None
# FIXME: The check for a null `blockHash` is due to parity's
# non-standard implementation of the JSON-RPC API and should
# be removed once the formal spec for the JSON-RPC endpoints
# has been finalized.
# if txn_receipt is not None and txn_receipt['blockHash'] is not None:
if tx_receipt is not None:
break
_timeout.sleep(poll_latency)
Expand Down Expand Up @@ -735,11 +730,6 @@ def wait_for_transaction_receipt(
tx_receipt = self._get_transaction_receipt(transaction_hash)
except TransactionNotFound:
tx_receipt = None
# FIXME: The check for a null `blockHash` is due to parity's
# non-standard implementation of the JSON-RPC API and should
# be removed once the formal spec for the JSON-RPC endpoints
# has been finalized.
# if txn_receipt is not None and txn_receipt['blockHash'] is not None:
if tx_receipt is not None:
break
_timeout.sleep(poll_latency)
Expand Down

0 comments on commit 5c7863e

Please sign in to comment.