Skip to content

Commit 66d2a4b

Browse files
committed
Fix conflicts
1 parent c709fa2 commit 66d2a4b

File tree

1 file changed

+7
-11
lines changed
  • cardano-cli/src/Cardano/CLI/EraIndependent/Key

1 file changed

+7
-11
lines changed

cardano-cli/src/Cardano/CLI/EraIndependent/Key/Run.hs

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module Cardano.CLI.EraIndependent.Key.Run
2323
, genesisVkeyDesc
2424
, genesisVkeyDelegateDesc
2525
, stakeVkeyDesc
26-
, stakePoolDesc
26+
, stakePoolVKeyDesc
2727
, paymentVkeyDesc
2828
, stakePoolExtendedSKeyDesc
2929
, stakePoolExtendedVKeyDesc
@@ -106,8 +106,8 @@ paymentVkeyDesc = "Payment Verification Key"
106106
stakeVkeyDesc :: TextEnvelopeDescr
107107
stakeVkeyDesc = "Stake Verification Key"
108108

109-
stakePoolDesc :: TextEnvelopeDescr
110-
stakePoolDesc = "Stake Pool Operator Verification Key"
109+
stakePoolVKeyDesc :: TextEnvelopeDescr
110+
stakePoolVKeyDesc = "Stake Pool Operator Verification Key"
111111

112112
stakePoolExtendedSKeyDesc :: TextEnvelopeDescr
113113
stakePoolExtendedSKeyDesc = "Stake Pool Operator Signing Key"
@@ -188,19 +188,17 @@ runNonExtendedKeyCmd
188188
AStakeExtendedVerificationKey vk ->
189189
writeToDisk vkf (Just stakeVkeyDesc) (castVerificationKey vk :: VerificationKey StakeKey)
190190
AStakePoolExtendedVerificationKey vk ->
191-
writeToDisk vkf (Just stakeVkeyDesc) (castVerificationKey vk :: VerificationKey StakePoolKey)
191+
writeToDisk
192+
vkf
193+
(Just stakePoolVKeyDesc)
194+
(castVerificationKey vk :: VerificationKey StakePoolKey)
192195
AGenesisExtendedVerificationKey vk ->
193196
writeToDisk vkf (Just genesisVkeyDesc) (castVerificationKey vk :: VerificationKey GenesisKey)
194197
AGenesisDelegateExtendedVerificationKey vk ->
195198
writeToDisk
196199
vkf
197200
(Just genesisVkeyDelegateDesc)
198201
(castVerificationKey vk :: VerificationKey GenesisDelegateKey)
199-
AStakePoolExtendedVerificationKey vk ->
200-
writeToDisk
201-
vkf
202-
(Just stakePoolExtendedVKeyDesc)
203-
(castVerificationKey vk :: VerificationKey StakePoolKey)
204202
-- Non-extended keys are below and cause failure.
205203
vk@AByronVerificationKey{} -> goFail vk
206204
vk@APaymentVerificationKey{} -> goFail vk
@@ -212,7 +210,6 @@ runNonExtendedKeyCmd
212210
vk@ADRepVerificationKey{} -> goFail vk
213211
vk@ACommitteeColdVerificationKey{} -> goFail vk
214212
vk@ACommitteeHotVerificationKey{} -> goFail vk
215-
vk@AStakePoolVerificationKey{} -> goFail vk
216213
where
217214
goFail nonExtendedKey = left $ KeyCmdExpectedExtendedVerificationKey nonExtendedKey
218215

@@ -263,7 +260,6 @@ readExtendedVerificationKeyFile evkfile = do
263260
k@ADRepVerificationKey{} -> goFail k
264261
k@ACommitteeColdVerificationKey{} -> goFail k
265262
k@ACommitteeHotVerificationKey{} -> goFail k
266-
k@AStakePoolVerificationKey{} -> goFail k
267263
where
268264
goFail k = left $ KeyCmdExpectedExtendedVerificationKey k
269265

0 commit comments

Comments
 (0)