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

Commit cf30aad

Browse files
AnvikingKtorZ
authored andcommitted
[CO-342] Change documentation format
1 parent 04d397c commit cf30aad

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

wallet/test/Test/Pos/Util/MnemonicSpec.hs

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,25 @@ instance Eq CC.XPrv where
2727
(==) = (==) `on` CC.unXPrv
2828

2929
type TestVector =
30-
( BL.ByteString -- ^ Raw JSON encoding (V1)
31-
, BL.ByteString -- ^ Precursor to legacy (V0) JSON encoding
32-
, Entropy (EntropySize 12) -- ^ Corresponding Entropy
33-
, Mnemonic 12 -- ^ Corresponding Mnemonic
34-
, ByteString -- ^ Corresponding Seed
35-
, AesKey -- ^ Corresponding AESKey
30+
(
31+
-- | Raw JSON encoding (V1)
32+
BL.ByteString
33+
34+
-- | Precursor to legacy (V0) JSON encoding.
35+
-- Applying 'jsonV0Compat' to this element should produce valid V0 JSON.
36+
, BL.ByteString
37+
38+
-- | Corresponding Entropy
39+
, Entropy (EntropySize 12)
40+
41+
-- | Corresponding Mnemonic
42+
, Mnemonic 12
43+
44+
-- | Corresponding Seed
45+
, ByteString
46+
47+
-- | Corresponding AESKey
48+
, AesKey
3649
)
3750

3851

0 commit comments

Comments
 (0)