Skip to content

Commit

Permalink
Fix state bugs
Browse files Browse the repository at this point in the history
Signed-off-by: KayleCoder <[email protected]>
  • Loading branch information
KayleCoder committed Aug 5, 2024
1 parent 8c818c3 commit 10b891a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/type/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/wrapper/StorageContract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
});
}

Expand Down

0 comments on commit 10b891a

Please sign in to comment.