Skip to content

Commit

Permalink
Handle acceptance_failed in adjust attestation
Browse files Browse the repository at this point in the history
  • Loading branch information
Neylix committed Jan 14, 2025
1 parent 948282f commit 0aec97a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/archethic/self_repair/sync.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0aec97a

Please sign in to comment.