Skip to content

Commit

Permalink
Fix incorrect error message
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed May 23, 2019
1 parent f3a8cb3 commit 8b2e6e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/core/src/Cardano/Wallet/Api/Server.hs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ instance LiftHandler ErrCoinSelection where
[ "I can't process this payment because there's not enough "
, "UTxO available in the wallet. The total UTxO sums up to "
, showT utxo, " Lovelace, but I need ", showT payment
, " Lovelace (inclusive of fee amount) in order to proceed "
, " Lovelace (exclusive of fee amount) in order to proceed "
, " with the payment."
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ specWithCluster = do
(Exit c, Stdout out, Stderr err) <- getWalletViaCLI walId
out `shouldBe` ""
if (title == "40 chars hex") then
err `shouldBe` "Wallet not found.\n"
err `shouldBe` "I couldn't find a wallet with the given id:\
\ 1111111111111111111111111111111111111111\n"
else
err `shouldBe` "wallet id should be an hex-encoded string of\
\ 40 characters\n"
Expand Down

0 comments on commit 8b2e6e2

Please sign in to comment.