Shawn Lu 1 năm trước cách đây
mục cha
commit
bc398685f6
2 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 1 0
      src/bridge/StargateClient.ts
  2. 1 0
      src/main.ts

+ 1 - 0
src/bridge/StargateClient.ts

@@ -47,6 +47,7 @@ export class StargateClient {
   async bridge(toChainId: number) {
     if (toChainId === ChainId.ZKSYNC) throw new Error('Unsupported.')
     return await polly()
+      // todo: change back
       .waitAndRetry([1000 * 10])
       .executeForPromise(async info => {
         try {

+ 1 - 0
src/main.ts

@@ -45,6 +45,7 @@ app.listen(port, () => {
   console.log(`start listening at http://localhost:${port}`)
 })
 
+// todo: change back
 // new CreateBridgeTaskJob().start('*/5 * * * *')
 new BridgeJob().start('*/5 * * * * *')
 new ConfirmJob().start('*/30 * * * * *')