From 624cc0f1c4cff007821d01c6d36b8dbdc64a79b8 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Thu, 10 Mar 2022 14:30:04 +0300 Subject: [PATCH] [#224] netmap: Increase snapshot history size to 10 Signed-off-by: Evgenii Stratonikov --- netmap/netmap_contract.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netmap/netmap_contract.go b/netmap/netmap_contract.go index d70c157..2f47aaf 100644 --- a/netmap/netmap_contract.go +++ b/netmap/netmap_contract.go @@ -37,7 +37,7 @@ const ( // SnapshotCount contains the number of previous snapshots stored by this contract. // Must be less than 255. - SnapshotCount = 2 + SnapshotCount = 10 snapshotKeyPrefix = "snapshot_" snapshotCurrentIDKey = "snapshotCurrent" snapshotEpoch = "snapshotEpoch"