0g-chain/x/auction/abci.go
2020-01-10 14:08:47 +00:00

14 lines
233 B
Go

package auction
import (
sdk "github.com/cosmos/cosmos-sdk/types"
)
// EndBlocker runs at the end of every block.
func EndBlocker(ctx sdk.Context, k Keeper) {
err := k.CloseExpiredAuctions(ctx)
if err != nil {
panic(err)
}
}