multi: fix a-vs-an typos

This commit is contained in:
practicalswift
2018-04-18 04:02:04 +02:00
committed by Olaoluwa Osuntokun
parent 0720e83840
commit 663c396235
45 changed files with 67 additions and 67 deletions

View File

@@ -37,7 +37,7 @@ type databaseChannelGraph struct {
// autopilot.ChannelGraph interface.
var _ ChannelGraph = (*databaseChannelGraph)(nil)
// ChannelGraphFromDatabase returns a instance of the autopilot.ChannelGraph
// ChannelGraphFromDatabase returns an instance of the autopilot.ChannelGraph
// backed by a live, open channeldb instance.
func ChannelGraphFromDatabase(db *channeldb.ChannelGraph) ChannelGraph {
return &databaseChannelGraph{
@@ -260,7 +260,7 @@ func (d *databaseChannelGraph) addRandChannel(node1, node2 *btcec.PublicKey,
nil
}
// memChannelGraph is a implementation of the autopilot.ChannelGraph backed by
// memChannelGraph is an implementation of the autopilot.ChannelGraph backed by
// an in-memory graph.
type memChannelGraph struct {
graph map[NodeID]memNode