diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2011-12-25 10:08:01 -0500 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2011-12-25 10:08:01 -0500 |
commit | 60835d96276549ce17fe163a18c2f78dc5b267bc (patch) | |
tree | f9be11b57313385fba848ca3a7564bada67d0e31 /src | |
parent | 6996a9d7131cc634cb67dcd56a71ca9744001c8f (diff) |
assert condition in previous commit was backwards
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 725fabff86..0277f5fa75 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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; |