Skip to content

Commit

Permalink
Add clarifying comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fasmat committed Aug 12, 2023
1 parent a505c2e commit 51e58d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions initialization/migrate_metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 51e58d3

Please sign in to comment.