EIP4844: fix a minor typo
This commit is contained in:
parent
19613ac7cd
commit
eb26a1d74c
|
@ -149,7 +149,7 @@ def tx_peek_blob_versioned_hashes(opaque_tx: Transaction) -> Sequence[VersionedH
|
||||||
def verify_kzgs_against_transactions(transactions: Sequence[Transaction], blob_kzgs: Sequence[KZGCommitment]) -> bool:
|
def verify_kzgs_against_transactions(transactions: Sequence[Transaction], blob_kzgs: Sequence[KZGCommitment]) -> bool:
|
||||||
all_versioned_hashes = []
|
all_versioned_hashes = []
|
||||||
for tx in transactions:
|
for tx in transactions:
|
||||||
if opaque_tx[0] == BLOB_TX_TYPE:
|
if tx[0] == BLOB_TX_TYPE:
|
||||||
all_versioned_hashes.extend(tx_peek_blob_versioned_hashes(tx))
|
all_versioned_hashes.extend(tx_peek_blob_versioned_hashes(tx))
|
||||||
return all_versioned_hashes == [ksg_to_version_hash(kzg) for kzg in blob_kzgs]
|
return all_versioned_hashes == [ksg_to_version_hash(kzg) for kzg in blob_kzgs]
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue