txscript: Trivial typo fixes.
This commit is contained in:
parent
8c883d1fca
commit
63d1550d42
1 changed files with 5 additions and 5 deletions
|
@ -62,7 +62,7 @@ func TestHashCacheAddContainsHashes(t *testing.T) {
|
|||
|
||||
var err error
|
||||
|
||||
// First, well generate 10 random transactions for use within our
|
||||
// First, we'll generate 10 random transactions for use within our
|
||||
// tests.
|
||||
const numTxns = 10
|
||||
txns := make([]*wire.MsgTx, numTxns)
|
||||
|
@ -104,8 +104,8 @@ func TestHashCacheAddContainsHashes(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
// TestHashCacheAddGet tests that the sighahes for a particular transaction
|
||||
// care properly retrieved by the GetSigHashes function.
|
||||
// TestHashCacheAddGet tests that the sighashes for a particular transaction
|
||||
// are properly retrieved by the GetSigHashes function.
|
||||
func TestHashCacheAddGet(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
|
@ -170,8 +170,8 @@ func TestHashCachePurge(t *testing.T) {
|
|||
cache.PurgeSigHashes(&txid)
|
||||
}
|
||||
|
||||
// At this point, non of the transaction inserted into the hash cache
|
||||
// should be found within the ache.
|
||||
// At this point, none of the transactions inserted into the hash cache
|
||||
// should be found within the cache.
|
||||
for _, tx := range txns {
|
||||
txid := tx.TxHash()
|
||||
if ok := cache.ContainsHashes(&txid); ok {
|
||||
|
|
Loading…
Reference in a new issue