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
@@ -215,7 +215,7 @@ func (b *BtcWallet) NewAddress(t lnwallet.AddressType, change bool) (btcutil.Add
return b.wallet.NewAddress(defaultAccount, addrType)
}
// GetPrivKey retrives the underlying private key associated with the passed
// GetPrivKey retrieves the underlying private key associated with the passed
// address. If the we're unable to locate the proper private key, then a
// non-nil error will be returned.
//
@@ -324,7 +324,7 @@ func (b *BtcWallet) LockOutpoint(o wire.OutPoint) {
}
// UnlockOutpoint unlocks an previously locked output, marking it eligible for
// coin seleciton.
// coin selection.
//
// This is a part of the WalletController interface.
func (b *BtcWallet) UnlockOutpoint(o wire.OutPoint) {
+2 -2
View File
@@ -39,11 +39,11 @@ var (
walletDbName = "lnwallet.db"
)
// Config is a struct which houses configuration paramters which modify the
// Config is a struct which houses configuration parameters which modify the
// instance of BtcWallet generated by the New() function.
type Config struct {
// DataDir is the name of the directory where the wallet's persistent
// state should be sotred.
// state should be stored.
DataDir string
// LogDir is the name of the directory which should be used to store