h-agent-swap 3.0.6 → 3.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "h-agent-swap",
3
- "version": "3.0.6",
3
+ "version": "3.0.7",
4
4
  "description": "agent-swap",
5
5
  "main": "src/index.js",
6
6
  "files": [
package/src/agent-swap.js CHANGED
@@ -558,8 +558,8 @@ ${JSON.stringify(data,null,2)}`)
558
558
  if(!config.onoff) {
559
559
  throw "交易对未开启"
560
560
  }
561
- config.feeRate = multiplication(division(result.feeRate,100),this.pointMax)
562
- config.burnRate = multiplication(division(result.burnRate,100),this.pointMax)
561
+ config.feeRate = multiplication(division(config.feeRate,100),this.pointMax)
562
+ config.burnRate = multiplication(division(config.burnRate,100),this.pointMax)
563
563
 
564
564
  // amount 为固定输入金额
565
565
  // 扣除手续费 以及 销毁费用