mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 08:15:19 +00:00
14 lines
233 B
Go
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)
|
|
}
|
|
}
|