From 804b9e4aa1e1d32f0c7b9e148f6e8d76df363eb6 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 15 Nov 2016 14:23:56 -0300 Subject: [PATCH] test --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 040794c7e..be90c6e08 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1721,7 +1721,7 @@ bool NonContextualCheckInputs(const CTransaction& tx, CValidationState &state, c #ifdef KOMODO_ENABLE_INTEREST if ( strcmp(ASSETCHAINS_SYMBOL,"REVS") == 0 )//&& nHeight >= 60000 ) { - if ( value >= COIN ) + if ( coins->vout[prevout.n].nValue >= COIN ) { int64_t interest; int32_t txheight; uint32_t locktime; if ( (interest= komodo_accrued_interest(&txheight,&locktime,prevout.hash,prevout.n,0,coins->vout[prevout.n].nValue)) != 0 )