Skip to content

Commit 1751ae9

Browse files
committed
Merge branch 'feat/aggregation-mode-explorer' into feat/aggregation-mode-explorer-views
2 parents 0b55d41 + 609d744 commit 1751ae9

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

explorer/lib/explorer/models/aggregation_mode_proof.ex

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ defmodule AggregationModeProof do
3232
AggregationModeProof.changeset(%AggregationModeProof{}, proof)
3333

3434
case(
35-
Explorer.Repo.get_by(AggregationModeProof, proof_hash: proof.proof_hash, index: proof.index)
35+
Explorer.Repo.get_by(AggregationModeProof,
36+
agg_proof_id: proof.agg_proof_id,
37+
proof_hash: proof.proof_hash,
38+
index: proof.index
39+
)
3640
) do
3741
nil ->
3842
Explorer.Repo.insert(changeset)

0 commit comments

Comments
 (0)