From 797ed6ca831e1f4ec29d4146bbeee9af7909d614 Mon Sep 17 00:00:00 2001 From: Anjor Kanekar Date: Wed, 13 Nov 2024 15:52:05 +0000 Subject: [PATCH] fix bug (#182) --- dataprep-tools/filecoin/boost_create_deals.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dataprep-tools/filecoin/boost_create_deals.py b/dataprep-tools/filecoin/boost_create_deals.py index daea6663..f7d89c88 100644 --- a/dataprep-tools/filecoin/boost_create_deals.py +++ b/dataprep-tools/filecoin/boost_create_deals.py @@ -204,8 +204,8 @@ def create_deals(metadata_obj): ), f"metadata.csv should have 5 columns, instead found f{len(line)}, {line}" commp_piece_cid = line[1] - padded_size = line[2] - payload_cid = line[3] + payload_cid = line[2] + padded_size = line[3] check_obj = client.check_exists(epoch + "/" + file_name) if not check_obj[0]: