Skip to content

Commit

Permalink
chore: small improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
rkotov93 committed Jul 30, 2023
1 parent 4441c28 commit b2086f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/evm_tx/decoder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def decode_input(input_data)
def method_definitions_by_id(abi)
abi.each_with_object({}) do |method_definition, obj|
type = method_definition['type']
next if %w[event].include?(type)
next if type == 'event'

method_id = calculate_method_id(method_definition)
obj[method_id] = method_definition
Expand Down

0 comments on commit b2086f6

Please sign in to comment.