Browse Source

Fix dynamic Trade fee

pull/187/head
QuickMythril 1 year ago
parent
commit
866eccda80
  1. 2
      plugins/plugins/core/trade-bot/trade-bot-portal.src.js
  2. 2
      plugins/plugins/core/trade-portal/trade-portal.src.js

2
plugins/plugins/core/trade-bot/trade-bot-portal.src.js

@ -3747,7 +3747,7 @@ class TradeBotPortal extends LitElement {
}
return Promise.reject(response)
}).then((json) => {
this.listedCoins.get("QORTAL").tradeFee = (Number(json + 100000) / 1e8).toFixed(2)
this.listedCoins.get("QORTAL").tradeFee = (Number(json) + 100000) / 1e8
})
}

2
plugins/plugins/core/trade-portal/trade-portal.src.js

@ -3032,7 +3032,7 @@ class TradePortal extends LitElement {
}
return Promise.reject(response)
}).then((json) => {
this.listedCoins.get("QORTAL").tradeFee = (Number(json + 100000) / 1e8).toFixed(2)
this.listedCoins.get("QORTAL").tradeFee = (Number(json) + 100000) / 1e8
})
}

Loading…
Cancel
Save