Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

Commit b3bad97

Browse files
committed
1.0.2
Fixed several minor bugs
1 parent 232c28f commit b3bad97

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "yuteport",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Portfolio designed to control the status of our cryptocurrencies in each exchange",
55
"private": true,
6-
"license": "UNLICENSED",
7-
"author": "Daniel Martín",
6+
"license": "MIT",
7+
"author": "Dm94Dani",
88
"homepage": "./",
99
"repository": {
1010
"type": "git",

public/controllers/transactions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ controller.getBalancesFromExchange = async (name, key, secret, password) => {
116116
let total = coin.total * price;
117117

118118
if (lastTotal !== 0) {
119-
profit = ((total - lastTotal) / ((total + lastTotal) * 2)) * 100;
119+
profit = ((total - lastTotal) / lastTotal) * 100;
120120
profit = Math.round(profit);
121121
}
122122

src/react/pages/MarketsConfig.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ class MarketsConfig extends Component {
119119
}
120120
this.setState({
121121
metamaskAddress: "",
122-
apiKeyBscscan: "",
122+
metamaskCoin: "",
123+
metamaskContract: "",
123124
});
124125
}
125126
};

0 commit comments

Comments
 (0)