0g-chain/x/issuance/spec/06_begin_block.md
2024-04-25 15:31:20 +08:00

268 B

Begin Block

At the start of each block, coins held by blocked addresses are redeemed

  func BeginBlocker(ctx sdk.Context, k Keeper) {
    err := k.RedeemTokensFromBlockedAddresses(ctx, k)
    if err != nil {
      panic(err)
    }
  }