File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -89,17 +89,17 @@ class ERC7702SmartAccount extends SmartAccount {
89
89
class UserOperationWithContext extends UserOperation {
90
90
constructor ( params ) {
91
91
super ( params ) ;
92
- this . initCode = params . sender ?. initCode ;
93
- this . chainId = params . sender ?. chainId ;
92
+ this . _initCode = params . sender ?. initCode ;
93
+ this . _chainId = params . sender ?. chainId ;
94
94
}
95
95
96
96
addInitCode ( ) {
97
- if ( ! this . initCode ) throw new Error ( 'No init code available for the sender of this user operation' ) ;
98
- return Object . assign ( this , parseInitCode ( this . initCode ) ) ;
97
+ if ( ! this . _initCode ) throw new Error ( 'No init code available for the sender of this user operation' ) ;
98
+ return Object . assign ( this , parseInitCode ( this . _initCode ) ) ;
99
99
}
100
100
101
101
hash ( ) {
102
- return super . hash ( entrypoint , this . chainId ) ;
102
+ return super . hash ( entrypoint , this . _chainId ) ;
103
103
}
104
104
}
105
105
You can’t perform that action at this time.
0 commit comments