Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit dc9a652

Browse files
authored
Merge pull request #3172 from input-output-hk/revert-cdec-299
Revert "[CDEC-299] Remove field accessors for `GenesisConfiguration`"
2 parents c8625b4 + 8015a00 commit dc9a652

File tree

1 file changed

+3
-3
lines changed
  • core/src/Pos/Core/Configuration

1 file changed

+3
-3
lines changed

core/src/Pos/Core/Configuration/Core.hs

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ data GenesisConfiguration
4141
-- | Genesis from a 'GenesisSpec'.
4242
= GCSpec !GenesisSpec
4343
-- | 'GenesisData' is stored in a file.
44-
| GCSrc !FilePath
44+
| GCSrc { gcsFile :: !FilePath
4545
-- ^ Path to file where 'GenesisData' is stored. Must be
4646
-- in JSON, not necessary canonical.
47-
!(Hash Raw)
47+
, gcsHash :: !(Hash Raw)
4848
-- ^ Hash of canonically encoded 'GenesisData'.
49-
49+
}
5050
deriving (Show)
5151

5252
data CoreConfiguration = CoreConfiguration

0 commit comments

Comments
 (0)