Commit cefed890 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent f37a6353
...@@ -43,8 +43,12 @@ async function init() { ...@@ -43,8 +43,12 @@ async function init() {
async function balanceUpdater() { async function balanceUpdater() {
try { try {
let d = await exchange.fetchFreeBalance() let d = await exchange.fetchFreeBalance()
balance = d.USDT if (d.USDT !==balance)
appendBalanceProfitLog(balance) {
balance = d.USDT
appendBalanceProfitLog(balance)
}
} catch (e) { } catch (e) {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment