Skip to content

Commit

Permalink
Error Check on Jail Contract
Browse files Browse the repository at this point in the history
  • Loading branch information
joelsmith-2019 committed Nov 24, 2023
1 parent 616b214 commit 4fd1322
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion x/clock/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ func EndBlocker(ctx sdk.Context, k keeper.Keeper) {
errorExecs[idx] = addr

// Jail contract on error
k.JailContract(ctx, addr)
err = k.JailContract(ctx, addr)
if err != nil {
log.Printf("[x/clock] Failed to Error Contract %s: %v", addr, err)
}
}
}

Expand Down

0 comments on commit 4fd1322

Please sign in to comment.