treat colinearmath as named import

master
michael 2022-09-14 21:39:29 +00:00
parent 7f71e0be9e
commit 6c8d4be6bc
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
package keeper package keeper
import ( import (
"colinear/x/colinearcore/math" colinearmath "colinear/x/colinearcore/math"
"colinear/x/colinearcore/memdb" "colinear/x/colinearcore/memdb"
"colinear/x/colinearcore/types" "colinear/x/colinearcore/types"
"log" "log"
@ -103,7 +103,7 @@ func (k *Keeper) PayAuctionAmountDue(ctx sdk.Context, auctionId string) error {
amtTotal.SetString(auction.Best.Amount, 10) amtTotal.SetString(auction.Best.Amount, 10)
amtRemaining := new(big.Int) amtRemaining := new(big.Int)
amtTotal.SetString(auction.Remaining, 10) amtTotal.SetString(auction.Remaining, 10)
amt, err := math.CalcAmountVestableLinear( amt, err := colinearmath.CalcAmountVestableLinear(
amtTotal, amtTotal,
amtRemaining, amtRemaining,
ctx.BlockTime(), ctx.BlockTime(),