Browse Source

assert condition in previous commit was backwards

miguelfreitas
Gavin Andresen 13 years ago
parent
commit
60835d9627
  1. 2
      src/main.cpp

2
src/main.cpp

@ -284,7 +284,7 @@ bool CTransaction::AreInputsStandard(std::map<uint256, std::pair<CTxIndex, CTran @@ -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;

Loading…
Cancel
Save