We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a9b571 commit d145facCopy full SHA for d145fac
watcher/src/watchers/NearArchiveWatcher.ts
@@ -11,7 +11,7 @@ import {
11
getTimestampByBlock,
12
} from '../utils/near';
13
import { Watcher } from './Watcher';
14
-import { assertEnvironmentVariable } from '@wormhole-foundation/wormhole-monitor-common';
+import { assertEnvironmentVariable, sleep } from '@wormhole-foundation/wormhole-monitor-common';
15
import { Network, contracts } from '@wormhole-foundation/sdk-base';
16
import axios from 'axios';
17
import { AXIOS_CONFIG_JSON } from '../consts';
@@ -187,6 +187,7 @@ export class NearArchiveWatcher extends Watcher {
187
break;
188
}
189
190
+ await sleep(10_000);
191
192
return txs.reverse();
193
0 commit comments