multi: fix several typos in godoc comments

This commit is contained in:
Matt Drollette authored and Olaoluwa Osuntokun committed 2017-12-17 18:40:05 -08:00
1 parent b74a281b57
commit adf0d98194
37 files changed
+70 -70

No files matched your search

+2 -2
View File
@@ -25,7 +25,7 @@ type ChainNotifier interface {
// confirmations has been reached for the txid, as well as if the
// original tx gets re-org'd out of the mainchain. The heightHint
// parameter is provided as a convenience to light clients. The
// heightHint denotes the earlies height in the blockchain in which the
// heightHint denotes the earliest height in the blockchain in which the
// target txid _could_ have been included in the chain. This can be
// used to bound the search space when checking to see if a
// notification can immediately be dispatched due to historical data.
@@ -40,7 +40,7 @@ type ChainNotifier interface {
// returned SpendEvent will receive a send on the 'Spend' transaction
// once a transaction spending the input is detected on the blockchain.
// The heightHint parameter is provided as a convenience to light
// clients. The heightHint denotes the earlies height in the blockchain
// clients. The heightHint denotes the earliest height in the blockchain
// in which the target output could've been created.
//
// NOTE: This notifications should be triggered once the transaction is
+1 -1
View File
@@ -160,7 +160,7 @@ func (n *NeutrinoNotifier) Start() error {
return nil
}
// Stop shutsdown the NeutrinoNotifier.
// Stop shuts down the NeutrinoNotifier.
func (n *NeutrinoNotifier) Stop() error {
// Already shutting down?
if atomic.AddInt32(&n.stopped, 1) != 1 {
+1 -1
View File
@@ -11,7 +11,7 @@ import (
// once the target transaction gets sufficient confirmations. The client is
// asynchronously notified via the ConfirmationEvent channels.
type ConfNtfn struct {
// TxID is the hash of the transaction for which confirmatino notifications
// TxID is the hash of the transaction for which confirmation notifications
// are requested.
TxID *chainhash.Hash