multi: fix various typos in comments

This commit is contained in:
maurycy committed 2018-09-07 06:51:49 +02:00
1 parent dcd8190c80
commit ac24b12bf2
24 files changed
+37 -37

No files matched your search

+1 -1
View File
@@ -416,7 +416,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)