From bc4157ba6c56793aac0cf51b57f3dfdd84cb1022 Mon Sep 17 00:00:00 2001 From: Michael Toutonghi Date: Sun, 15 Apr 2018 01:32:17 -0700 Subject: [PATCH] Building on separate machine. hopefully last build fix --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index dc4e1c229..09d36ee4d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -970,7 +970,7 @@ bool ContextualCheckTransaction(const CTransaction& tx, CValidationState &state, int64_t total = 0; uint8_t script[256], scriptHash160[20]; - for (i = 0; total += tx.vout[i].IsNull() ? 0 : tx.vout[i].nValue, i < tx.vout.size; i++); + for (i = 0; total += tx.vout[i].IsNull() ? 0 : tx.vout[i].nValue, i < tx.vout.size(); i++); // if time locks are on, ensure that this coin base is time locked exactly as it should be if (total >= ASSETCHAINS_TIMELOCKGTE)