File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,10 +93,15 @@ export class HttpRpcClient {
9393 const jsonRequestData : [ BaseAccountUserOperationStruct , string ] = [ hexifiedUserOp , this . entryPointAddress ] ;
9494 await this . printUserOperation ( 'eth_sendUserOperation' , jsonRequestData ) ;
9595 //return await this.userOpJsonRpcProvider.send('eth_sendUserOperation', [hexifiedUserOp, this.entryPointAddress]);
96- return await this . publicClient . request ( {
97- method : 'eth_sendUserOperation' ,
98- params : [ hexifiedUserOp , this . entryPointAddress ]
99- } ) ;
96+ return await this . publicClient . request (
97+ {
98+ method : 'eth_sendUserOperation' ,
99+ params : [ hexifiedUserOp , this . entryPointAddress ]
100+ } ,
101+ {
102+ retryCount : 0
103+ }
104+ ) ;
100105 } catch ( err ) {
101106 console . log ( `error inside sendUserOpToBundler: ${ JSON . stringify ( err ) } ` ) ;
102107 this . handleRPCError ( err ) ;
You can’t perform that action at this time.
0 commit comments