Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Rodriguez committed Mar 18, 2024
1 parent cb7ad15 commit 98f5f31
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/light-clients/08-wasm/types/gas_register.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,8 @@ func (g WasmGasRegister) SetupContractCost(discount bool, msgLen int) storetypes
dataCost := storetypes.Gas(msgLen) * g.c.ContractMessageDataCost
if discount {
return g.c.InstanceCostDiscount + dataCost
} else {
return g.c.InstanceCost + dataCost
}
return g.c.InstanceCost + dataCost
}

// ReplyCosts costs to to handle a message reply.
Expand Down

0 comments on commit 98f5f31

Please sign in to comment.