From 9c1337745ce74ead9255cdf385851338ec4316a0 Mon Sep 17 00:00:00 2001 From: Matthias <5011972+fasmat@users.noreply.github.com> Date: Fri, 4 Aug 2023 09:30:47 +0000 Subject: [PATCH] Add clarifying comment --- initialization/migrate_metadata.go | 1 + 1 file changed, 1 insertion(+) diff --git a/initialization/migrate_metadata.go b/initialization/migrate_metadata.go index 6b4d46a3a..4b1b1b728 100644 --- a/initialization/migrate_metadata.go +++ b/initialization/migrate_metadata.go @@ -84,6 +84,7 @@ type postMetadataV0 struct { // - add version field to postdata_metadata.json (missing in version 0) // - add NonceValue field to postdata_metadata.json if missing (was introduced before migrations, not every PoST version 0 metadata file has it) // - re-encode NodeId and CommitmentAtxId as hex strings. +// - add Scrypt field to postdata_metadata.json (missing in version 0), assume default mainnet values. func migrateV0(dir string, logger *zap.Logger) (err error) { filename := filepath.Join(dir, MetadataFileName) file, err := os.Open(filename)