Skip to content

Commit

Permalink
Fix typespec of decode_values function
Browse files Browse the repository at this point in the history
  • Loading branch information
alisinabh committed Jan 28, 2024
1 parent ef1857e commit 424d1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ethers/transaction.ex
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ defmodule Ethers.Transaction do
@doc """
Decodes a transaction struct values in a new map.
"""
@spec decode_values(t()) :: Map.t()
@spec decode_values(t()) :: map()
def decode_values(%__MODULE__{} = tx) do
tx
|> Map.from_struct()
Expand Down

0 comments on commit 424d1da

Please sign in to comment.