Fix minor typos.
This commit is contained in:
parent
b701fadd7b
commit
c4abe025d0
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue