From 28d438336ed04a3f773a4e4457df7168e30b1342 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 8 Jul 2019 05:06:40 -1100 Subject: [PATCH] Utxovout --- src/komodo_nSPV.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_nSPV.h b/src/komodo_nSPV.h index becd08015..10a2abecf 100644 --- a/src/komodo_nSPV.h +++ b/src/komodo_nSPV.h @@ -430,7 +430,7 @@ int32_t NSPV_notariescount(CTransaction tx,uint8_t elected[64][33]) if ( utxovout < vintx.vout.size() ) { script = (uint8_t *)&vintx.vout[utxovout].scriptPubKey[0]; - if ( (scriptlen= vintx.vout[n].scriptPubKey.size()) == 35 ) + if ( (scriptlen= vintx.vout[utxovout].scriptPubKey.size()) == 35 ) { for (j=0; j<64; j++) if ( memcmp(&script[1],elected[j],33) == 0 )