Skip to content

Commit

Permalink
fixed bug in data chunk get function
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfears committed Jan 6, 2024
1 parent 3e2ce2c commit 471ba43
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stellar-snap",
"version": "0.0.15",
"version": "0.0.16",
"private": false,
"description": "A non custodial Stellar Wallet built for metamask",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions snap.manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "0.0.15",
"version": "0.0.16",
"description": "Stellar Metamask integration",
"proposedName": "Stellar",
"repository": {
"type": "git",
"url": "https://github.com/paulfears/StellarSnap.git"
},
"source": {
"shasum": "q4zqzl65rIlfIdenXgqohh0omW9wpX5ESfL84mjduQQ=",
"shasum": "GrNtYQY0zlfcfbkst5bpWRYCw/MJZ01K27cLnCDCWtY=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion src/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export async function getDataPacket(wallet:Wallet, client:Client):Promise<DataPa
const startingNetwork = client.network;
client.setNetwork('mainnet');
const mainnetAssets = await getAssets(wallet, client);
client.setNetwork('mainnet');
client.setNetwork('testnet');
const testnetAssets = await getAssets(wallet, client);
const mainnetXLMBalance = mainnetAssets[mainnetAssets.length-1].balance; //xlm is always the last asset
const testnetXLMBalance = testnetAssets[testnetAssets.length-1].balance;
Expand Down

0 comments on commit 471ba43

Please sign in to comment.