treat colinearmath as named import
parent
7f71e0be9e
commit
6c8d4be6bc
|
@ -1,7 +1,7 @@
|
|||
package keeper
|
||||
|
||||
import (
|
||||
"colinear/x/colinearcore/math"
|
||||
colinearmath "colinear/x/colinearcore/math"
|
||||
"colinear/x/colinearcore/memdb"
|
||||
"colinear/x/colinearcore/types"
|
||||
"log"
|
||||
|
@ -103,7 +103,7 @@ func (k *Keeper) PayAuctionAmountDue(ctx sdk.Context, auctionId string) error {
|
|||
amtTotal.SetString(auction.Best.Amount, 10)
|
||||
amtRemaining := new(big.Int)
|
||||
amtTotal.SetString(auction.Remaining, 10)
|
||||
amt, err := math.CalcAmountVestableLinear(
|
||||
amt, err := colinearmath.CalcAmountVestableLinear(
|
||||
amtTotal,
|
||||
amtRemaining,
|
||||
ctx.BlockTime(),
|
||||
|
|
Loading…
Reference in New Issue