From c99a227df2ee1612d3b505702427a378b623b3b4 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 10 Jan 2014 22:32:05 -0600 Subject: [PATCH] Fix a couple of comment typos. --- blockmanager.go | 2 +- btcd.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blockmanager.go b/blockmanager.go index 6d40051f5..688da09bf 100644 --- a/blockmanager.go +++ b/blockmanager.go @@ -478,7 +478,7 @@ func (b *blockManager) handleBlockMsg(bmsg *blockMsg) { // inventory vector is known. This includes checking all of the various places // inventory can be when it is in different states such as blocks that are part // of the main chain, on a side chain, in the orphan pool, and transactions that -// in the memory pool (either the main pool or orphan pool). +// are in the memory pool (either the main pool or orphan pool). func (b *blockManager) haveInventory(invVect *btcwire.InvVect) bool { switch invVect.Type { case btcwire.InvVect_Block: diff --git a/btcd.go b/btcd.go index 3ba8ea1fc..d1d5377eb 100644 --- a/btcd.go +++ b/btcd.go @@ -20,8 +20,8 @@ var ( shutdownChannel = make(chan bool) ) -// winServiceMain is only invoked on Windows. It detect when btcd is running as -// a service and reacts accordingly. +// winServiceMain is only invoked on Windows. It detects when btcd is running +// as a service and reacts accordingly. var winServiceMain func() (bool, error) // btcdMain is the real main function for btcd. It is necessary to work around