Typo fix: `ksg_to_version_hash` -> `kzg_to_versioned_hash`

This commit is contained in:
Hsiao-Wei Wang 2022-04-10 18:41:49 +08:00 committed by GitHub
parent 1bfefe301d
commit 5978c86f3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ def verify_kzgs_against_transactions(transactions: Sequence[Transaction], blob_k
for tx in transactions: for tx in transactions:
if 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 == [kzg_to_versioned_hash(kzg) for kzg in blob_kzgs]
``` ```
## Beacon chain state transition function ## Beacon chain state transition function