Skip to content

Commit

Permalink
Fix :invalid_atomic_commitment error in DW
Browse files Browse the repository at this point in the history
  • Loading branch information
Neylix committed May 22, 2024
1 parent dd53c56 commit 42c6df0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/archethic/mining/distributed_workflow.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1188,8 +1188,9 @@ defmodule Archethic.Mining.DistributedWorkflow do
[%ReplicationError{error: error}] ->
send(self(), {:replication_error, error})

_ ->
send(self(), {:replication_error, :invalid_atomic_commitment})
[] ->
error = Error.new(:consensus_not_reached, "Invalid atomic commitment")
send(self(), {:replication_error, error})
end

context
Expand Down

0 comments on commit 42c6df0

Please sign in to comment.