From 813bf140b8963a23c6710892faf3040f4fb20dd5 Mon Sep 17 00:00:00 2001 From: Neylix Date: Sun, 11 Dec 2022 13:15:21 +0100 Subject: [PATCH] Reduce timeout to get mining process --- lib/archethic/mining.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/archethic/mining.ex b/lib/archethic/mining.ex index 4d182454b..d09bf41de 100644 --- a/lib/archethic/mining.ex +++ b/lib/archethic/mining.ex @@ -162,7 +162,7 @@ defmodule Archethic.Mining do ) :: :ok def confirm_replication(tx_address, signature, node_public_key) do - pid = get_mining_process!(tx_address) + pid = get_mining_process!(tx_address, 1000) if pid, do: send(pid, {:ack_replication, signature, node_public_key}) :ok end