Skip to content

Commit

Permalink
Fix minor typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
wallclockbuilder committed Dec 30, 2015
1 parent b701fad commit c4abe02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chain/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion waddrmgr/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c4abe02

Please sign in to comment.