From 424d1dab3572259086e3db61f460cc46b185926a Mon Sep 17 00:00:00 2001 From: Alisina Bahadori Date: Sun, 28 Jan 2024 15:57:23 -0500 Subject: [PATCH] Fix typespec of decode_values function --- lib/ethers/transaction.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ethers/transaction.ex b/lib/ethers/transaction.ex index 41a328e..c82d798 100644 --- a/lib/ethers/transaction.ex +++ b/lib/ethers/transaction.ex @@ -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()