diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index e45436242..c2eb431b0 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -431,7 +431,7 @@ uint32_t iguana_ramchain_addspend(struct iguana_info *coin,RAMCHAIN_FUNC,bits256 } else { - if ( vout >= 0 ) + if ( prev_vout >= 0 ) { if ( ptr != 0 ) {