From d8f9ce0fb98911ec505bcdb5ab1f75c31b491569 Mon Sep 17 00:00:00 2001 From: Nella di Diminuendo Date: Tue, 21 Jan 2025 15:42:14 -0500 Subject: [PATCH] patch miner_height --- src/schema_account_state.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/schema_account_state.rs b/src/schema_account_state.rs index 935e6a0..2aa74e1 100644 --- a/src/schema_account_state.rs +++ b/src/schema_account_state.rs @@ -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