Fix a couple of comment typos.

This commit is contained in:
Dave Collins 2014-01-10 22:32:05 -06:00
parent 427fb3cd94
commit c99a227df2
2 changed files with 3 additions and 3 deletions

View file

@ -478,7 +478,7 @@ func (b *blockManager) handleBlockMsg(bmsg *blockMsg) {
// inventory vector is known. This includes checking all of the various places // 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 // 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 // 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 { func (b *blockManager) haveInventory(invVect *btcwire.InvVect) bool {
switch invVect.Type { switch invVect.Type {
case btcwire.InvVect_Block: case btcwire.InvVect_Block:

View file

@ -20,8 +20,8 @@ var (
shutdownChannel = make(chan bool) shutdownChannel = make(chan bool)
) )
// winServiceMain is only invoked on Windows. It detect when btcd is running as // winServiceMain is only invoked on Windows. It detects when btcd is running
// a service and reacts accordingly. // as a service and reacts accordingly.
var winServiceMain func() (bool, error) var winServiceMain func() (bool, error)
// btcdMain is the real main function for btcd. It is necessary to work around // btcdMain is the real main function for btcd. It is necessary to work around