multi: comprehensive typo fixes across all packages
This commit is contained in:
1 parent
72a5bc8648
commit
a93736d21e
103 files changed
+435
-435
No files matched your search
+3
-3
@@ -53,7 +53,7 @@ type NetworkHarness struct {
|
||||
|
||||
// NewNetworkHarness creates a new network test harness.
|
||||
// TODO(roasbeef): add option to use golang's build library to a binary of the
|
||||
// current repo. This'll save developers from having to manually `go install`
|
||||
// current repo. This will save developers from having to manually `go install`
|
||||
// within the repo each time before changes
|
||||
func NewNetworkHarness(r *rpctest.Harness) (*NetworkHarness, error) {
|
||||
n := NetworkHarness{
|
||||
@@ -232,7 +232,7 @@ func (n *NetworkHarness) TearDownAll() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// NewNode fully initializes a returns a new HarnessNode binded to the
|
||||
// NewNode fully initializes a returns a new HarnessNode bound to the
|
||||
// current instance of the network harness. The created node is running, but
|
||||
// not yet connected to other nodes within the network.
|
||||
func (n *NetworkHarness) NewNode(extraArgs []string) (*HarnessNode, error) {
|
||||
@@ -681,7 +681,7 @@ func (n *NetworkHarness) CloseChannel(ctx context.Context,
|
||||
}
|
||||
|
||||
// Next, we'll fetch the target channel in order to get the
|
||||
// harness node that'll be receiving the channel close request.
|
||||
// harness node that will be receiving the channel close request.
|
||||
targetChan, err := filterChannel(lnNode, chanPoint)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
|
||||
+2
-2
@@ -35,7 +35,7 @@ var (
|
||||
|
||||
// defaultNodePort is the initial p2p port which will be used by the
|
||||
// first created lightning node to listen on for incoming p2p
|
||||
// connections. Subsequent allocated ports for future lighting nodes
|
||||
// connections. Subsequent allocated ports for future Lightning nodes
|
||||
// instances will be monotonically increasing numbers calculated as
|
||||
// such: defaultP2pPort + (3 * harness.nodeNum).
|
||||
defaultNodePort = 19555
|
||||
@@ -317,7 +317,7 @@ func (hn *HarnessNode) start(lndError chan<- error) error {
|
||||
}
|
||||
copy(hn.PubKey[:], pubkey)
|
||||
|
||||
// Launch the watcher that'll hook into graph related topology change
|
||||
// Launch the watcher that will hook into graph related topology change
|
||||
// from the PoV of this node.
|
||||
hn.wg.Add(1)
|
||||
go hn.lightningNetworkWatcher()
|
||||
|
||||
Reference in new issue
Block a user