From c4abe025d099447c6d6cc609505109fa0ad50be1 Mon Sep 17 00:00:00 2001 From: Mawuli Adzoe Date: Wed, 30 Dec 2015 15:24:31 -0700 Subject: [PATCH] Fix minor typos. --- chain/chain.go | 2 +- waddrmgr/error.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)