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

Commit b5e3d67

Browse files
committed
[CBR-325] Fix a few typos and link 'TODO's to actual tickets
1 parent cf30aad commit b5e3d67

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

wallet-new/integration/AccountSpecs.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import qualified Prelude
1919
accountSpecs :: WalletRef -> WalletClient IO -> Spec
2020
accountSpecs _ wc =
2121
describe "Accounts" $ do
22-
it "can retrieve only an accounts balance" $ do
22+
it "can retrieve only an account's balance" $ do
2323
let zero = V1 (mkCoin 0)
2424
(Wallet{..}, Account{..}) <- randomAccount wc
2525
eresp <- getAccountBalance wc walId accIndex

wallet-new/src/Cardano/Wallet/API/V1/Accounts.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ type API
4242
:> Post '[ValidJSON] (WalletResponse Transaction)
4343
:<|> "wallets" :> CaptureWalletId :> "accounts"
4444
:> CaptureAccountId :> "addresses"
45-
:> Summary "Retrieve only account's addressees."
45+
:> Summary "Retrieve only account's addresses."
4646
:> WalletRequestParams
4747
:> FilterBy '[V1 Core.Address] WalletAddress
4848
:> Get '[ValidJSON] (WalletResponse AccountAddresses)

wallet-new/src/Cardano/Wallet/API/V1/Handlers/Accounts.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ getAccountAddresses
103103
-> FilterOperations WalletAddress
104104
-> Handler (WalletResponse AccountAddresses)
105105
getAccountAddresses _layer _wId _accIdx _pagination _filters =
106-
error "unimplemented"
106+
error "unimplemented, see [CBR-366]"
107107

108108
getAccountBalance
109109
:: PassiveWalletLayer IO
110110
-> WalletId
111111
-> AccountIndex
112112
-> Handler (WalletResponse AccountBalance)
113113
getAccountBalance _layer _wId _accIdx =
114-
error "unimplemented"
114+
error "unimplemented, see [CBR-366]"

0 commit comments

Comments
 (0)