From 510a44bdd93f05507bd0f446227397ed84a016f8 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 13 Mar 2014 08:45:41 -0500 Subject: [PATCH] Fix some comment typos. --- blockmanager.go | 2 +- rpcserver.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blockmanager.go b/blockmanager.go index f9ed491b..95cc7006 100644 --- a/blockmanager.go +++ b/blockmanager.go @@ -572,7 +572,7 @@ func (b *blockManager) handleBlockMsg(bmsg *blockMsg) { // fetchHeaderBlocks creates and sends a request to the syncPeer for the next // list of blocks to be downloaded based on the current list of headers. func (b *blockManager) fetchHeaderBlocks() { - // Nothing to do if there is not start header. + // Nothing to do if there is no start header. if b.startHeader == nil { bmgrLog.Warnf("fetchHeaderBlocks called with no start header") return diff --git a/rpcserver.go b/rpcserver.go index fefbc297..2b9bbd37 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -498,7 +498,7 @@ func handleCreateRawTransaction(s *rpcServer, cmd btcjson.Cmd) (interface{}, err c := cmd.(*btcjson.CreateRawTransactionCmd) // Add all transaction inputs to a new transaction after performing - // some validty checks. + // some validity checks. mtx := btcwire.NewMsgTx() for _, input := range c.Inputs { txHash, err := btcwire.NewShaHashFromStr(input.Txid) @@ -519,7 +519,7 @@ func handleCreateRawTransaction(s *rpcServer, cmd btcjson.Cmd) (interface{}, err } // Add all transaction outputs to the transaction after performing - // some validty checks. + // some validity checks. for encodedAddr, amount := range c.Amounts { // Ensure amount is in the valid range for monetary amounts. if amount <= 0 || amount > btcutil.MaxSatoshi {