mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-05 02:54:25 -08:00
treat colinearmath as named import
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user