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 {
47
47
}
48
48
49
49
/// 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 {
51
51
executeBatchCall {
52
52
_target : batch
53
53
. iter ( )
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ impl ExecutionRouter {
102
102
let encoded_calldata = if transactions. len ( ) == 1 {
103
103
smart_account. encode_execute ( & transactions[ 0 ] )
104
104
} else {
105
- smart_account. encode_execute_batch ( & transactions. to_vec ( ) )
105
+ smart_account. encode_execute_batch ( transactions)
106
106
} ;
107
107
108
108
// Create rules for UserOp restrictions
You can’t perform that action at this time.
0 commit comments