0g-chain/x/auction/abci.go

14 lines
233 B
Go
Raw Normal View History

2019-11-25 19:46:02 +00:00
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) {
2020-01-10 14:08:47 +00:00
err := k.CloseExpiredAuctions(ctx)
if err != nil {
panic(err)
2019-11-25 19:46:02 +00:00
}
}