diff --git a/chain/chain.go b/chain/chain.go index 80ae878..ea50248 100644 --- a/chain/chain.go +++ b/chain/chain.go @@ -369,7 +369,7 @@ out: // request to the server. // TODO: A minute timeout is used to prevent the handler // loop from blocking here forever, but this is much larger - // then it needs to be due to btcd processing websocket + // than it needs to be due to btcd processing websocket // requests synchronously (see // https://github.com/btcsuite/btcd/issues/504). Decrease // this to something saner like 3s when the above issue is diff --git a/waddrmgr/error.go b/waddrmgr/error.go index 67ed538..a3d158b 100644 --- a/waddrmgr/error.go +++ b/waddrmgr/error.go @@ -205,7 +205,7 @@ func managerError(c ErrorCode, desc string, err error) ManagerError { // function by returning an error with the code ErrCallBackBreak var Break = managerError(ErrCallBackBreak, "callback break", nil) -// IsError returns whether the error is a MangerError with a matching error +// IsError returns whether the error is a ManagerError with a matching error // code. func IsError(err error, code ErrorCode) bool { e, ok := err.(ManagerError)