From 5d4ea760d5edd7863e12dd3398be8075adc79ed6 Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 8 Apr 2024 20:40:20 +0800 Subject: [PATCH] revert rename change as change db field name and stops block chain reading from db (#517) --- consensus/XDPoS/engines/engine_v2/snapshot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/XDPoS/engines/engine_v2/snapshot.go b/consensus/XDPoS/engines/engine_v2/snapshot.go index 57aae21662..78ce0aff55 100644 --- a/consensus/XDPoS/engines/engine_v2/snapshot.go +++ b/consensus/XDPoS/engines/engine_v2/snapshot.go @@ -17,7 +17,7 @@ type SnapshotV2 struct { Hash common.Hash `json:"hash"` // Block hash where the snapshot was created // candidates will get assigned on updateM1 - NextEpochCandidates []common.Address `json:"candidates"` // Set of authorized candidates nodes at this moment for next epoch + NextEpochCandidates []common.Address `json:"masterNodes"` // Set of authorized candidates nodes at this moment for next epoch } // create new snapshot for next epoch to use