Skip to content

Commit

Permalink
update default partner address (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yolley committed Sep 10, 2024
1 parent 426489d commit 6dd137e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"packages": [
"packages/*"
],
"version": "6.4.0",
"version": "6.4.1",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/common",
"version": "6.4.0",
"version": "6.4.1",
"description": "Common utilities and types used by streamflow packages.",
"homepage": "https://github.com/streamflow-finance/js-sdk/",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/distributor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/distributor",
"version": "6.4.0",
"version": "6.4.1",
"description": "JavaScript SDK to interact with Streamflow Airdrop protocol.",
"homepage": "https://github.com/streamflow-finance/js-sdk/",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/eslint-config",
"version": "6.4.0",
"version": "6.4.1",
"license": "ISC",
"main": "index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/stream/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/stream",
"version": "6.4.0",
"version": "6.4.1",
"description": "JavaScript SDK to interact with Streamflow protocol.",
"homepage": "https://github.com/streamflow-finance/js-sdk/",
"main": "dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/stream/solana/StreamClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export default class SolanaStreamClient extends BaseStreamClient {
const recipientTokens = await ata(mintPublicKey, recipientPublicKey, tokenProgramId);
const streamflowTreasuryTokens = await ata(mintPublicKey, STREAMFLOW_TREASURY_PUBLIC_KEY, tokenProgramId);

const partnerPublicKey = partner ? new PublicKey(partner) : STREAMFLOW_TREASURY_PUBLIC_KEY;
const partnerPublicKey = partner ? new PublicKey(partner) : WITHDRAWOR_PUBLIC_KEY;

const partnerTokens = await ata(mintPublicKey, partnerPublicKey, tokenProgramId);

Expand Down Expand Up @@ -373,7 +373,7 @@ export default class SolanaStreamClient extends BaseStreamClient {
const { tokenProgramId } = await getMintAndProgram(this.connection, mintPublicKey);
const senderTokens = await ata(mintPublicKey, sender.publicKey, tokenProgramId);

const partnerPublicKey = partner ? new PublicKey(partner) : STREAMFLOW_TREASURY_PUBLIC_KEY;
const partnerPublicKey = partner ? new PublicKey(partner) : WITHDRAWOR_PUBLIC_KEY;

const ixs: TransactionInstruction[] = prepareBaseInstructions(this.connection, {
computePrice,
Expand Down

0 comments on commit 6dd137e

Please sign in to comment.