From b0b3d8b85bd1197cfac1c6acadf6b489f24c99bd Mon Sep 17 00:00:00 2001 From: Irshad Nilam Date: Wed, 22 Jun 2022 02:24:30 +0800 Subject: [PATCH] Add fund fix --- package.json | 2 +- src/msp.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e19a901..7e6fcc7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mean-dao/msp", - "version": "2.6.0-alpha.8", + "version": "2.6.0-alpha.9", "description": "MSP Typescript SDK", "private": false, "main": "lib/index.js", diff --git a/src/msp.ts b/src/msp.ts index 0b97249..023ec04 100644 --- a/src/msp.ts +++ b/src/msp.ts @@ -1046,7 +1046,7 @@ export class MSP { treasuryAssociatedTokenMint, fundingAmount, ); - tx.add(txAdd); + tx.add(...txAdd.instructions); } const cliffVestPercentValue = cliffVestPercent