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