File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @sqds/cli" ,
3
- "version" : " 2.3.17 " ,
3
+ "version" : " 2.3.18 " ,
4
4
"description" : " " ,
5
5
"main" : " bin/index.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -53,12 +53,12 @@ class API{
53
53
54
54
getTransactions = async ( ms : any ) => {
55
55
const txIndex = ms . transactionIndex ;
56
- const transactions = await Promise . all ( [ ...new Array ( txIndex ) ] . map ( async ( _ , i ) => {
56
+ const txsPDA = [ ...new Array ( txIndex ) ] . map ( ( _ , i ) => {
57
57
const ind = new BN ( i + 1 ) ;
58
- const [ txPDA ] = await getTxPDA ( ms . publicKey , ind , this . programId ) ;
59
- return this . squads . getTransaction ( txPDA ) ;
60
- } ) ) ;
61
- return transactions ;
58
+ const [ txPDA ] = getTxPDA ( ms . publicKey , ind , this . programId ) ;
59
+ return txPDA ;
60
+ } )
61
+ return this . squads . getTransactions ( txsPDA )
62
62
}
63
63
64
64
createMultisig = async ( threshold : number , createKey : PublicKey , members : PublicKey [ ] ) => {
You can’t perform that action at this time.
0 commit comments