mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-05-01 15:03:07 +00:00
Update da/test_encoder.py
Co-authored-by: Daniel Sanchez <sanchez.quiros.daniel@gmail.com>
This commit is contained in:
parent
82e5b4da7c
commit
cce427f161
@ -38,7 +38,7 @@ class TestEncoder(TestCase):
|
||||
|
||||
# verify rows
|
||||
h = DAVerifier._derive_challenge(encoded_data.row_commitments)
|
||||
com_C = encoded_data.row_commitments[0]
|
||||
combined_commitment = encoded_data.row_commitments[0]
|
||||
power = h
|
||||
for com in encoded_data.row_commitments[1:]:
|
||||
com_C = com_C + com * int(power)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user