Skip to content

Commit

Permalink
Propagated priority fees in create multiple
Browse files Browse the repository at this point in the history
  • Loading branch information
LukaStreamflow committed Mar 16, 2024
1 parent 0818736 commit 5858a4a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 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": "5.11.2",
"version": "5.11.3",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
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": "5.11.2",
"version": "5.11.3",
"description": "JavaScript SDK to interact with Streamflow protocol.",
"homepage": "https://github.com/streamflow-finance/js-sdk/",
"main": "dist/index.js",
Expand Down
7 changes: 5 additions & 2 deletions packages/stream/solana/StreamClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -985,13 +985,16 @@ export default class SolanaStreamClient extends BaseStreamClient {
partner,
} = streamParams;

const { sender, metadataPubKeys } = extParams;
const { sender, metadataPubKeys, computeLimit, computePrice } = extParams;

if (!sender.publicKey) {
throw new Error("Sender's PublicKey is not available, check passed wallet adapter!");
}

const ixs: TransactionInstruction[] = [];
const ixs: TransactionInstruction[] = this.prepareBaseInstructions({
computePrice,
computeLimit,
});
const recipientPublicKey = new PublicKey(recipient.recipient);
const mintPublicKey = new PublicKey(mint);
const { metadata, metadataPubKey } = this.getOrCreateStreamMetadata(metadataPubKeys);
Expand Down

0 comments on commit 5858a4a

Please sign in to comment.