Skip to content

Commit

Permalink
Adjust tx comfirm delay time
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 4227563 commit 42183bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/service/tonbag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async function registerProvider(task: any) {
task_state: TaskState.submit_storage_proof,
last_proof_time: lastProofTime,
next_proof_time: (BigInt(lastProofTime) + BigInt(order.max_storage_proof_span_in_sec)).toString(),
provider_address: wallet.address.toString()
provider_address: providerAddress.toString()
}, {
where: {
id: task.id
Expand Down Expand Up @@ -294,7 +294,7 @@ async function updateProviderState(task: any) {
});
return;
}
await sleep(1);
await sleep(6);
retry++;
}
await Task.model.update({
Expand Down

0 comments on commit 42183bf

Please sign in to comment.