Skip to content

Commit 5683089

Browse files
committed
Add clarifying comment
1 parent fb405d3 commit 5683089

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: initialization/migrate_metadata.go

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ type postMetadataV0 struct {
8484
// - add version field to postdata_metadata.json (missing in version 0)
8585
// - add NonceValue field to postdata_metadata.json if missing (was introduced before migrations, not every PoST version 0 metadata file has it)
8686
// - re-encode NodeId and CommitmentAtxId as hex strings.
87+
// - add Scrypt field to postdata_metadata.json (missing in version 0), assume default mainnet values.
8788
func migrateV0(dir string, logger *zap.Logger) (err error) {
8889
filename := filepath.Join(dir, MetadataFileName)
8990
file, err := os.Open(filename)

0 commit comments

Comments
 (0)