fix: index should be list of 8 integers

This commit is contained in:
Roman 2025-01-17 15:16:51 +08:00
parent b83019c7f4
commit 1025e36a1d
No known key found for this signature in database
GPG Key ID: B8FE070B54E11B75

View File

@ -5,7 +5,7 @@ from src.steps.common import StepsCommon
def prepare_dispersal_data(data):
data_bytes = data.encode("utf-8")
dispersal_data = {"data": list(data_bytes), "metadata": {"app_id": [1] + [0] * 31, "index": 0}}
dispersal_data = {"data": list(data_bytes), "metadata": {"app_id": [1] + [0] * 31, "index": [0] * 8}}
return dispersal_data