Skip to content

Commit

Permalink
Bugfix devnet loading assets (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipzeta authored Feb 15, 2024
1 parent 02b7da6 commit 7d3b8e6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
Version changes are pinned to SDK releases.

## [1.21.3]

- Bugfix devnet loading assets in Exchange.load(). ([#355](https://github.com/zetamarkets/sdk/pull/354))

## [1.21.2]

- Small bugfix for DYM in indexToAsset(). ([#354](https://github.com/zetamarkets/sdk/pull/354))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zetamarkets/sdk",
"repository": "https://github.com/zetamarkets/sdk/",
"version": "1.21.2",
"version": "1.21.3",
"description": "Zeta SDK",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/exchange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ export class Exchange {
if (loadConfig.loadAssets) {
this._assets = loadConfig.loadAssets;
} else {
this._assets = assets.allAssets();
this._assets = assets.allAssets(loadConfig.network);
}
this._provider = new anchor.AnchorProvider(
loadConfig.connection,
Expand Down

0 comments on commit 7d3b8e6

Please sign in to comment.