treat colinearmath as named import
parent
7f71e0be9e
commit
6c8d4be6bc
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue