[trivial] Fix typo: "occurrences" (misspelled as "occurrances")
Typo introduced in0003911326
: $ git blame src/coins.cpp | grep occurrances00039113
(2017-04-25 11:29:29 -0700 89) // deal with the pre-BIP30 occurrances of duplicate coinbase transactions.
This commit is contained in:
parent
30853e16d3
commit
b083db617a
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ void AddCoins(CCoinsViewCache& cache, const CTransaction &tx, int nHeight) {
|
||||||
const uint256& txid = tx.GetHash();
|
const uint256& txid = tx.GetHash();
|
||||||
for (size_t i = 0; i < tx.vout.size(); ++i) {
|
for (size_t i = 0; i < tx.vout.size(); ++i) {
|
||||||
// Pass fCoinbase as the possible_overwrite flag to AddCoin, in order to correctly
|
// Pass fCoinbase as the possible_overwrite flag to AddCoin, in order to correctly
|
||||||
// deal with the pre-BIP30 occurrances of duplicate coinbase transactions.
|
// deal with the pre-BIP30 occurrences of duplicate coinbase transactions.
|
||||||
cache.AddCoin(COutPoint(txid, i), Coin(tx.vout[i], nHeight, fCoinbase), fCoinbase);
|
cache.AddCoin(COutPoint(txid, i), Coin(tx.vout[i], nHeight, fCoinbase), fCoinbase);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue