mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-20 12:00:52 +00: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;
|
COutPoint prevout = vin[i].prevout;
|
||||||
assert(mapInputs.count(prevout.hash) > 0);
|
assert(mapInputs.count(prevout.hash) > 0);
|
||||||
CTransaction& txPrev = mapInputs[prevout.hash].second;
|
CTransaction& txPrev = mapInputs[prevout.hash].second;
|
||||||
assert(prevout.n >= txPrev.vout.size());
|
assert(prevout.n < txPrev.vout.size());
|
||||||
|
|
||||||
vector<vector<unsigned char> > vSolutions;
|
vector<vector<unsigned char> > vSolutions;
|
||||||
txnouttype whichType;
|
txnouttype whichType;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user