Skip to content

Commit

Permalink
Update x/circuit/ante/circuit.go
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
Reecepbcups and coderabbitai[bot] authored Apr 22, 2024
1 parent c92f4f9 commit a6ce4f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/circuit/ante/circuit.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func NewCircuitBreakerDecorator(ck CircuitBreaker) CircuitBreakerDecorator {
}

// If you copy this as reference and your app has the authz module enabled, you must either:
// - recessively check for nested authz.Exec messages in this function.
// - recursively check for nested authz.Exec messages in this function.
// - or error early if a nested authz grant is found.
// The circuit AnteHandler handles this with baseapp's service router: https://github.com/cosmos/cosmos-sdk/issues/18632.
func (cbd CircuitBreakerDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) {
Expand Down

0 comments on commit a6ce4f0

Please sign in to comment.