File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
governance/xc_admin/packages/xc_admin_common/src Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import { WORMHOLE_ADDRESS } from "./wormhole";
28
28
29
29
export const MAX_EXECUTOR_PAYLOAD_SIZE = PACKET_DATA_SIZE - 687 ; // Bigger payloads won't fit in one addInstruction call when adding to the proposal
30
30
export const MAX_INSTRUCTIONS_PER_PROPOSAL = 256 - 1 ;
31
- export const MAX_NUMBER_OF_RETRIES = 5 ;
31
+ export const MAX_NUMBER_OF_RETRIES = 10 ;
32
32
33
33
type SquadInstruction = {
34
34
instruction : TransactionInstruction ;
@@ -407,6 +407,8 @@ export class MultisigVault {
407
407
) {
408
408
// If blockhash has expired, we need to fetch a new one
409
409
needToFetchBlockhash = true ;
410
+ } else {
411
+ await new Promise ( ( r ) => setTimeout ( r , 3000 ) ) ;
410
412
}
411
413
console . log ( e ) ;
412
414
numberOfRetries += 1 ;
You can’t perform that action at this time.
0 commit comments