Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
paolino committed May 24, 2022
1 parent 5521871 commit 62def1c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion lib/core-integration/src/Test/Integration/Framework/DSL.hs
Expand Up @@ -2843,7 +2843,6 @@ updateWalletPassphraseWithMnemonicViaCLI ctx wid mnemonic ppNew ppNewConfirm = d
hPutStr stdin (T.unpack (T.unwords mnemonic) <> "\n\n")
hPutStr stdin (ppNew <> "\n")
hPutStr stdin (ppNewConfirm <> "\n")
hFlush stdin
hClose stdin
c <- waitForProcess h
out <- TIO.hGetContents stdout
Expand Down
Expand Up @@ -772,7 +772,7 @@ spec = describe "SHELLEY_WALLETS" $ do

it "WALLETS_UPDATE_PASS_01b - passphraseLastUpdate gets updated, mnemonic"
$ \ctx -> runResourceT $ do
(w,mnemonic) <- emptyWalletAndMnemonic ctx
(w, mnemonic) <- emptyWalletAndMnemonic ctx
let payload = updatePassPayloadMnemonic mnemonic "New passphrase"
let endpoint = "v2/wallets" </> (w ^. walletId)
</> ("passphrase" :: Text)
Expand All @@ -786,7 +786,7 @@ spec = describe "SHELLEY_WALLETS" $ do
it "WALLETS_UPDATE_PASS_01c - passphraseLastUpdate gets updated, mnemonic \
\using second factor"
$ \ctx -> runResourceT $ do
(w,mnemonic, sndFactor) <- emptyWalletAndMnemonicAndSndFactor ctx
(w, mnemonic, sndFactor) <- emptyWalletAndMnemonicAndSndFactor ctx
let payload = updatePassPayloadMnemonicAndSndFactor
mnemonic sndFactor "New passphrase"
let endpoint = "v2/wallets" </> (w ^. walletId)
Expand Down Expand Up @@ -835,7 +835,7 @@ spec = describe "SHELLEY_WALLETS" $ do
rup <- request @ApiWallet ctx ("PUT", endpoint) Default payload
verify rup expectations
forM_ matrix $ \(title, passphrase, expectations) -> it title $ \ctx -> runResourceT $ do
(w,mnemonic) <- emptyWalletAndMnemonic ctx
(w, mnemonic) <- emptyWalletAndMnemonic ctx
let payload = updatePassPayloadMnemonic mnemonic passphrase
let endpoint = "v2/wallets" </> (w ^. walletId)
</> ("passphrase" :: Text)
Expand Down Expand Up @@ -908,7 +908,7 @@ spec = describe "SHELLEY_WALLETS" $ do

it "WALLETS_UPDATE_PASS_04 - Deleted wallet is not available, mnemonic"
$ \ctx -> runResourceT $ do
(w,mnemonic) <- emptyWalletAndMnemonic ctx
(w, mnemonic) <- emptyWalletAndMnemonic ctx
let payload = updatePassPayloadMnemonic mnemonic "Secure passphrase2"
let walId = w ^. walletId
let delEndp = "v2/wallets" </> walId
Expand Down
1 change: 0 additions & 1 deletion lib/core/cardano-wallet-core.cabal
Expand Up @@ -57,7 +57,6 @@ library
, cardano-ledger-shelley-test
, cardano-ledger-shelley
, cardano-ledger-alonzo
, cardano-prelude
, cardano-slotting
, cborg
, containers
Expand Down

0 comments on commit 62def1c

Please sign in to comment.