mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-08 23:16:54 +00:00
linter: Enable gofumpt and run against codebase (#1848)
* linter: Enable gofumpt and run against codebase * Address shazbert's nits * gofumpt: Fix issues after rebase
This commit is contained in:
@@ -978,7 +978,7 @@ func getOfflineTradeFee(price, amount float64) float64 {
|
||||
|
||||
// calculateTradingFee returns the fee for trading any currency on Bitmex
|
||||
func calculateTradingFee(purchasePrice, amount float64, isMaker bool) float64 {
|
||||
var fee = 0.000750
|
||||
fee := 0.000750
|
||||
if isMaker {
|
||||
fee -= 0.000250
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user