Skip to content

Commit 15e9ed8

Browse files
committed
feat: set proof to null after successful verification
1 parent e763ee6 commit 15e9ed8

File tree

1 file changed

+1
-1
lines changed
  • aggregation_mode/proof_aggregator/src/backend

1 file changed

+1
-1
lines changed

aggregation_mode/proof_aggregator/src/backend/db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ impl Db {
6161

6262
for (task_id, merkle_path) in updates {
6363
if let Err(e) = sqlx::query(
64-
"UPDATE tasks SET merkle_path = $1, status = 'verified' WHERE task_id = $2",
64+
"UPDATE tasks SET merkle_path = $1, status = 'verified', proof = NULL WHERE task_id = $2",
6565
)
6666
.bind(merkle_path)
6767
.bind(task_id)

0 commit comments

Comments
 (0)