Merge pull request #1856 from maurycy/typos

multi: fix various typos in comments
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2018-09-27 20:38:10 -07:00
commit 6afee3d099
24 files changed
+37 -37

No files matched your search

+1 -1
View File
@@ -450,7 +450,7 @@ func (d *DB) FetchWaitingCloseChannels() ([]*OpenChannel, error) {
// fetchChannels attempts to retrieve channels currently stored in the
// database. The pending parameter determines whether only pending channels
// will be returned, or only open channels will be returned. The waitingClose
// parameter determines wheter only channels waiting for a closing transaction
// parameter determines whether only channels waiting for a closing transaction
// to be confirmed should be returned. If no active channels exist within the
// network, then ErrNoActiveChannels is returned.
func fetchChannels(d *DB, pending, waitingClose bool) ([]*OpenChannel, error) {
+1 -1
View File
@@ -1549,7 +1549,7 @@ func TestNodeUpdatesInHorizon(t *testing.T) {
len(nodeUpdates))
}
// We'll create 10 node announcements, each with an update timestmap 10
// We'll create 10 node announcements, each with an update timestamp 10
// seconds after the other.
const numNodes = 10
nodeAnns := make([]LightningNode, 0, numNodes)