Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Update x/evm/keeper/context_stack.go
Browse files Browse the repository at this point in the history
  • Loading branch information
fedekunze authored Aug 10, 2021
1 parent f018e64 commit 23e2ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/evm/keeper/context_stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (cs *ContextStack) Commit() {
// keep all the cosmos events
cs.initialCtx.EventManager().EmitEvents(cs.cachedContexts[i].ctx.EventManager().Events())
if cs.cachedContexts[i].commit == nil {
panic("commit function should not be nil")
panic(fmt.Sprintf("commit function at index %d should not be nil", i))
} else {
cs.cachedContexts[i].commit()
}
Expand Down

0 comments on commit 23e2ee9

Please sign in to comment.