Skip to content

Commit

Permalink
Merge pull request #108 from mintlayer/dev
Browse files Browse the repository at this point in the history
Dev-28-01-2024-v-1-1-4
  • Loading branch information
owlsua authored Jan 31, 2024
2 parents 1a715a6 + 0219b5e commit 2c71956
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "browser-extension",
"version": "1.1.3",
"version": "1.1.4",
"private": true,
"dependencies": {
"@mintlayer/entropy-generator": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion public/manifestDefault.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "Mojito - A Mintlayer Wallet",
"version": "1.1.3",
"version": "1.1.4",
"short_name": "Mojito",
"description": "Mojito is a non-custodial decentralized crypto wallet that lets you send and receive BTC and ML from any other address.",
"homepage_url": "https://www.mintlayer.org/",
Expand Down
2 changes: 1 addition & 1 deletion public/manifestFirefox.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "Mojito - A Mintlayer Wallet",
"version": "1.1.3",
"version": "1.1.4",
"short_name": "Mojito",
"description": "Mojito is a non-custodial decentralized crypto wallet that lets you send and receive BTC and ML from any other address.",
"homepage_url": "https://www.mintlayer.org/",
Expand Down
3 changes: 2 additions & 1 deletion src/services/API/Mintlayer/Mintlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ export const getWalletBalance = async (addresses) => {
const totalBalance = balances.reduce(
(acc, curr) => {
return {
balanceInAtoms: acc.balanceInAtoms + curr.balanceInAtoms,
balanceInAtoms:
+parseInt(acc.balanceInAtoms) + parseInt(curr.balanceInAtoms),
}
},
{ balanceInAtoms: 0 },
Expand Down

0 comments on commit 2c71956

Please sign in to comment.