Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
Provide rateAmount to createStreamWithTemplate as BN
Browse files Browse the repository at this point in the history
  • Loading branch information
MexicanSparker committed Sep 7, 2022
1 parent 08a0071 commit bfe1733
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mean-dao/msp",
"version": "3.0.0-alpha.14",
"version": "3.0.0-alpha.15",
"description": "MSP Typescript SDK",
"private": false,
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/msp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,7 @@ export class MSP {
const tx = this.program.transaction.createStreamWithTemplate(
LATEST_IDL_FILE_VERSION,
streamName,
rateAmount,
new BN(rateAmount),
new BN(allocationAssigned),
{
accounts: {
Expand Down

0 comments on commit bfe1733

Please sign in to comment.