diff --git a/src/type/common.ts b/src/type/common.ts index bfc29ee..080a4e3 100644 --- a/src/type/common.ts +++ b/src/type/common.ts @@ -19,8 +19,8 @@ export enum TaskState { download_torrent_success = 4, submit_storage_proof = 5, proof_success_wait_for_update_state = 6, - period_finish = 6, - task_finish = 7, + period_finish = 7, + task_finish = 8, more_than_max_storage_provider_count = -1, download_torrent_header_failed = -2, download_torrent_child_file_failed = -3, diff --git a/src/wrapper/StorageContract.ts b/src/wrapper/StorageContract.ts index 4934797..99b9352 100644 --- a/src/wrapper/StorageContract.ts +++ b/src/wrapper/StorageContract.ts @@ -202,7 +202,7 @@ export class StorageContract implements Contract { await provider.internal(via, { sendMode: SendMode.PAY_GAS_SEPARATELY, body: messsage.endCell(), - value: toNano('0.1'), + value: toNano('0.01'), }); }