From 60835d96276549ce17fe163a18c2f78dc5b267bc Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Sun, 25 Dec 2011 10:08:01 -0500 Subject: [PATCH] assert condition in previous commit was backwards --- src/main.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 725fabf..0277f5f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -284,7 +284,7 @@ bool CTransaction::AreInputsStandard(std::map 0); CTransaction& txPrev = mapInputs[prevout.hash].second; - assert(prevout.n >= txPrev.vout.size()); + assert(prevout.n < txPrev.vout.size()); vector > vSolutions; txnouttype whichType; -- 1.7.1