Skip to content

Commit

Permalink
patch miner_height
Browse files Browse the repository at this point in the history
  • Loading branch information
Nella di Diminuendo committed Jan 21, 2025
1 parent 6fe1969 commit d8f9ce0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/schema_account_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ MERGE (snap:Snapshot {{
MERGE (addr)-[rel:State {{version: tx.version}}]->(snap)
WITH snap, tx
WHERE tx.miner_state > 0
SET snap.miner_state = tx.miner_state
WHERE tx.miner_height > 0
SET snap.miner_height = tx.miner_height
RETURN COUNT(snap) AS merged_snapshots
Expand Down

0 comments on commit d8f9ce0

Please sign in to comment.