From 0aec97ae3075f6c069afbce64c471f57e4fe2b8e Mon Sep 17 00:00:00 2001 From: Neylix Date: Tue, 14 Jan 2025 10:27:18 +0100 Subject: [PATCH] Handle acceptance_failed in adjust attestation --- lib/archethic/self_repair/sync.ex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/archethic/self_repair/sync.ex b/lib/archethic/self_repair/sync.ex index 3cb8bec68..66d2dbfd0 100644 --- a/lib/archethic/self_repair/sync.ex +++ b/lib/archethic/self_repair/sync.ex @@ -417,6 +417,9 @@ defmodule Archethic.SelfRepair.Sync do {:ok, genesis_address} -> genesis_address + {:error, :acceptance_failed} -> + tx_address + {:error, reason} -> raise SelfRepair.Error, function: "adjust_attestation",