mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
assert condition in previous commit was backwards
This commit is contained in:
parent
6996a9d713
commit
60835d9627
@ -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…
Reference in New Issue
Block a user