Skip to content

Commit

Permalink
typo fix msg_server.go
Browse files Browse the repository at this point in the history
  • Loading branch information
BorisNaum authored Jan 26, 2025
1 parent 6b68cb0 commit e6fab2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/dymns/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func consumeMinimumGas(ctx sdk.Context, minimumGas, originalConsumedGas uint64,
if minimumGas > 0 {
laterConsumedGas := ctx.GasMeter().GasConsumed()
if laterConsumedGas < originalConsumedGas {
// unexpect gas consumption
// unexpected gas consumption
panic(fmt.Sprintf(
"later gas is less than original gas: %d < %d",
laterConsumedGas, originalConsumedGas,
Expand Down

0 comments on commit e6fab2a

Please sign in to comment.