File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
aa-core/src/smart_account
server/src/execution_router Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ pub trait SmartAccount {
4747 }
4848
4949 /// Encode a batch transaction call to the account
50- fn encode_execute_batch ( & self , batch : & Vec < InnerTransaction > ) -> Bytes {
50+ fn encode_execute_batch ( & self , batch : & [ InnerTransaction ] ) -> Bytes {
5151 executeBatchCall {
5252 _target : batch
5353 . iter ( )
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ impl ExecutionRouter {
102102 let encoded_calldata = if transactions. len ( ) == 1 {
103103 smart_account. encode_execute ( & transactions[ 0 ] )
104104 } else {
105- smart_account. encode_execute_batch ( & transactions. to_vec ( ) )
105+ smart_account. encode_execute_batch ( transactions)
106106 } ;
107107
108108 // Create rules for UserOp restrictions
You can’t perform that action at this time.
0 commit comments