mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-06 19:54:25 -08:00
upgrade auction structure ton include denom + no owner in tx
This commit is contained in:
@@ -24,8 +24,10 @@ func (k msgServer) NewAuction(goCtx context.Context, msg *types.MsgNewAuction) (
|
||||
Index: index,
|
||||
Name: msg.Name,
|
||||
Description: msg.Description,
|
||||
Best: new(types.Bid),
|
||||
Deadline: uint64(ctx.BlockHeight()) + auctionconfig.AuctionTime,
|
||||
// Best: new(types.Bid),
|
||||
Deadline: uint64(ctx.BlockHeight()) + auctionconfig.AuctionTime,
|
||||
Denom: msg.Denom,
|
||||
Owner: msg.Creator,
|
||||
}
|
||||
|
||||
k.Keeper.SetAuction(ctx, auction)
|
||||
|
||||
Reference in New Issue
Block a user