From fc748cc52a0d8b54c02d3ec632928646959814c1 Mon Sep 17 00:00:00 2001 From: Daniel Liu <139250065@qq.com> Date: Mon, 3 Nov 2025 15:16:05 +0800 Subject: [PATCH] engine_v2: add comment for type SnapshotV2, close XFN-124 (#1689) --- consensus/XDPoS/engines/engine_v2/snapshot.go | 1 + 1 file changed, 1 insertion(+) diff --git a/consensus/XDPoS/engines/engine_v2/snapshot.go b/consensus/XDPoS/engines/engine_v2/snapshot.go index 84aeaf5f5e..65a431dd14 100644 --- a/consensus/XDPoS/engines/engine_v2/snapshot.go +++ b/consensus/XDPoS/engines/engine_v2/snapshot.go @@ -18,6 +18,7 @@ type SnapshotV2 struct { Hash common.Hash `json:"hash"` // Block hash where the snapshot was created // candidates will get assigned on updateM1 + // NOTE: must keep JSON tag "masterNodes", ref: PR #517 NextEpochCandidates []common.Address `json:"masterNodes"` // Set of authorized candidates nodes at this moment for next epoch }