mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 22:50:58 +02:00
multi: fix a-vs-an typos
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
0720e83840
commit
663c396235
@@ -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
|
||||
|
Reference in New Issue
Block a user