assert condition in previous commit was backwards

This commit is contained in:
Gavin Andresen 2011-12-25 10:08:01 -05:00
parent 6996a9d713
commit 60835d9627
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ bool CTransaction::AreInputsStandard(std::map<uint256, std::pair<CTxIndex, CTran
COutPoint prevout = vin[i].prevout;
assert(mapInputs.count(prevout.hash) > 0);
CTransaction& txPrev = mapInputs[prevout.hash].second;
assert(prevout.n >= txPrev.vout.size());
assert(prevout.n < txPrev.vout.size());
vector<vector<unsigned char> > vSolutions;
txnouttype whichType;