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";
2828
2929export const MAX_EXECUTOR_PAYLOAD_SIZE = PACKET_DATA_SIZE - 687 ; // Bigger payloads won't fit in one addInstruction call when adding to the proposal
3030export const MAX_INSTRUCTIONS_PER_PROPOSAL = 256 - 1 ;
31- export const MAX_NUMBER_OF_RETRIES = 5 ;
31+ export const MAX_NUMBER_OF_RETRIES = 10 ;
3232
3333type SquadInstruction = {
3434 instruction : TransactionInstruction ;
@@ -407,6 +407,8 @@ export class MultisigVault {
407407 ) {
408408 // If blockhash has expired, we need to fetch a new one
409409 needToFetchBlockhash = true ;
410+ } else {
411+ await new Promise ( ( r ) => setTimeout ( r , 3000 ) ) ;
410412 }
411413 console . log ( e ) ;
412414 numberOfRetries += 1 ;
You can’t perform that action at this time.
0 commit comments