Skip to content

Commit

Permalink
remove debug variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyletang committed May 3, 2021
1 parent afd9b4f commit a466ee3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions fee/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
"code.vegaprotocol.io/vega/events"
"code.vegaprotocol.io/vega/logging"
types "code.vegaprotocol.io/vega/proto"

"github.com/shopspring/decimal"
)

Expand Down Expand Up @@ -446,13 +447,10 @@ func (e *Engine) BuildLiquidityFeeDistributionTransfer(shares map[string]decimal
diff := balance.Sub(floored).BigInt().Uint64()
ft.totalFeesAmountsPerParty[last] += diff
ft.transfers[len(ft.transfers)-1].Amount.Amount += diff
idx += 1

return ft
}

var idx = 0

// this will calculate the transfer the distressed party needs
// to do
func (e *Engine) getPositionResolutionFeesTransfers(
Expand Down

0 comments on commit a466ee3

Please sign in to comment.