Skip to content

Commit

Permalink
Rename for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
caike committed Feb 24, 2024
1 parent 7e8cd4a commit 95a2194
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/xogmios/tx_submission.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule Xogmios.TxSubmission do
alias Xogmios.TxSubmission.Response
alias Xogmios.TxSubmission.Server

@tx_submit_timeout 2_000
@request_timeout 2_000

@doc """
Starts a new Tx Submission process linked to the current process.
Expand Down Expand Up @@ -59,7 +59,7 @@ defmodule Xogmios.TxSubmission do

defp call(client, message) do
try do
case GenServer.call(client, {:send, message}, @tx_submit_timeout) do
case GenServer.call(client, {:send, message}, @request_timeout) do
{:ok, response} -> {:ok, response}
{:error, reason} -> {:error, reason}
end
Expand Down

0 comments on commit 95a2194

Please sign in to comment.