Skip to content

Commit 6e73446

Browse files
author
jsolman
committed
Fix SDUSD deposit and withdraw controls not showing up in certain cases.
1 parent cb7d58a commit 6e73446

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aphelion-desktop-wallet",
3-
"version": "3.3.6",
3+
"version": "3.3.7",
44
"author": "Aphelion <info@aphelion.org>",
55
"description": "Aphelion Desktop Wallet",
66
"license": "LicenseRef-LICENSE",

src/renderer/components/dex/OrderForm.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -301,15 +301,15 @@ export default {
301301
}
302302
},
303303
estimate() {
304-
const holding = this.currentMarket ?
305-
this.$services.neo.getHolding(this.currentMarket.baseAssetId).unitValue :
306-
0;
307-
308304
try {
305+
const holding = this.currentMarket ?
306+
this.$services.neo.getHolding(this.currentMarket.baseAssetId).unitValue :
307+
0;
308+
309309
return new BigNumber(this.total).multipliedBy(
310310
new BigNumber(holding));
311311
} catch (e) {
312-
console.log(e);
312+
// console.log(e);
313313
return 0;
314314
}
315315
},

0 commit comments

Comments
 (0)