File tree 1 file changed +7
-16
lines changed
1 file changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -173,14 +173,10 @@ describe("example-native-token-transfers", () => {
173
173
transaction . feePayer = payer . publicKey ;
174
174
transaction . recentBlockhash = blockhash ;
175
175
176
- await anchor . web3 . sendAndConfirmTransaction (
177
- connection ,
178
- transaction ,
179
- [ payer , mint ] ,
180
- {
181
- commitment : "confirmed" ,
182
- }
183
- ) ;
176
+ await anchor . web3 . sendAndConfirmTransaction ( connection , transaction , [
177
+ payer ,
178
+ mint ,
179
+ ] ) ;
184
180
185
181
tokenAccount = await spl . createAssociatedTokenAccount (
186
182
connection ,
@@ -307,14 +303,9 @@ describe("example-native-token-transfers", () => {
307
303
transaction . recentBlockhash = blockhash ;
308
304
309
305
transaction . sign ( payer ) ;
310
- await anchor . web3 . sendAndConfirmTransaction (
311
- connection ,
312
- transaction ,
313
- [ payer ] ,
314
- {
315
- commitment : "confirmed" ,
316
- }
317
- ) ;
306
+ await anchor . web3 . sendAndConfirmTransaction ( connection , transaction , [
307
+ payer ,
308
+ ] ) ;
318
309
} ) ;
319
310
320
311
test ( "Can send tokens" , async ( ) => {
You can’t perform that action at this time.
0 commit comments