From 26d4d5c434de804610d20aec7926c569d72d1f43 Mon Sep 17 00:00:00 2001 From: Ivan Socolsky Date: Mon, 30 Mar 2015 17:22:45 -0300 Subject: [PATCH] fix typo --- README.md | 4 ++-- lib/model/notification.js | 2 +- lib/wsapp.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 219048b..8dfb666 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ Optional Arguments: * limit: Total number of records to return (return all available records if not specified). Returns: - * History of incomming and outgoing transactions of the wallet. The list is paginated using the `skip` & `limit` params. Each item has the following fields: + * History of incoming and outgoing transactions of the wallet. The list is paginated using the `skip` & `limit` params. Each item has the following fields: * action ('sent', 'received', 'moved') * amount * fees @@ -72,7 +72,7 @@ Returns: `/v1/addresses/`: Get Wallet's main addresses (does not include change addresses) Returns: - * List of Addresses object: (https://github.com/bitpay/bitcore-wallet-service/blob/master/lib/model/adddress.js)). This call is mainly provided so the client check this addresses for incomming transactions (using a service like [Insight](https://insight.is) + * List of Addresses object: (https://github.com/bitpay/bitcore-wallet-service/blob/master/lib/model/adddress.js)). This call is mainly provided so the client check this addresses for incoming transactions (using a service like [Insight](https://insight.is) `/v1/balance/`: Get Wallet's balance diff --git a/lib/model/notification.js b/lib/model/notification.js index 3ea768b..143aced 100644 --- a/lib/model/notification.js +++ b/lib/model/notification.js @@ -12,7 +12,7 @@ var Uuid = require('uuid'); * txProposalFinallyRejected - txProposalId * txProposalFinallyAccepted - txProposalId * - * NewIncommingTx (address, txid) + * NewIncomingTx (address, txid) * NewOutgoingTx - (txProposalId, txid) * * data Examples: diff --git a/lib/wsapp.js b/lib/wsapp.js index 77d6d11..a4d69e3 100644 --- a/lib/wsapp.js +++ b/lib/wsapp.js @@ -39,7 +39,7 @@ WsApp.subscribeAddresses = function(walletId, addresses) { function handlerFor(walletId, address, txid) { var notification = Notification.create({ walletId: walletId, - type: 'NewIncommingTx', + type: 'NewIncomingTx', data: { address: address, txid: txid,