File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
packages/thirdweb/src/wallets/smart/lib Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " thirdweb " : patch
3
+ ---
4
+
5
+ Fix createAndSignUserOp with multiple transactions
Original file line number Diff line number Diff line change @@ -683,6 +683,7 @@ export async function createAndSignUserOp(options: {
683
683
const tx = options . transactions [ 0 ] as PreparedTransaction ;
684
684
const serializedTx = await toSerializableTransaction ( {
685
685
transaction : tx ,
686
+ from : accountAddress ,
686
687
} ) ;
687
688
executeTx = prepareExecute ( {
688
689
accountContract,
@@ -694,6 +695,7 @@ export async function createAndSignUserOp(options: {
694
695
options . transactions . map ( ( tx ) =>
695
696
toSerializableTransaction ( {
696
697
transaction : tx ,
698
+ from : accountAddress ,
697
699
} ) ,
698
700
) ,
699
701
) ;
You can’t perform that action at this time.
0 commit comments