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

Commit 8015a00

Browse files
committed
Revert "[CDEC-299] Remove field accessors for GenesisConfiguration"
This reverts commit b258f92.
1 parent 0ac17a2 commit 8015a00

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)