|
@@ -26,7 +26,7 @@ export class ConfirmJob extends CronJob {
|
|
|
try {
|
|
|
const targetProvider = new ethers.JsonRpcProvider(chainInfoMap[task.toChain].rpcUrl)
|
|
|
const balance = await targetProvider.getBalance(task.address)
|
|
|
- if (balance > ethers.parseEther('0.01')) {
|
|
|
+ if (balance > ethers.parseEther('0.003')) {
|
|
|
// if the balance is greater than 0.01, consider the bridge is successful
|
|
|
await DBClient.instance.$transaction([
|
|
|
DBClient.instance.task.update({
|