From fdb6753a37089bf6f61517a1779428d62ddc7bce Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 8 Jul 2019 22:16:44 -1100 Subject: [PATCH] vData[0] --- src/komodo_nSPV.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/komodo_nSPV.h b/src/komodo_nSPV.h index fb82a5000..ebeea6f42 100644 --- a/src/komodo_nSPV.h +++ b/src/komodo_nSPV.h @@ -435,7 +435,7 @@ bool NSPV_SignTx(CMutableTransaction &mtx,int32_t vini,int64_t utxovalue,const C int32_t NSPV_newnotariescount(CTransaction tx,uint8_t elected[64][33]) { - CPubKey pubkeys[64]; uint8_t sig[512]; CScript scriptPubKeys[64]; CMutableTransaction mtx(tx); int32_t vini,j,siglen,numsigs = 0; char *str; std::vector vchSig; + CPubKey pubkeys[64]; uint8_t sig[512]; CScript scriptPubKeys[64]; CMutableTransaction mtx(tx); int32_t vini,j,siglen,numsigs = 0; char *str; std::vector>& vData; for (j=0; j<64; j++) { pubkeys[j] = buf2pk(elected[j]); @@ -445,15 +445,15 @@ int32_t NSPV_newnotariescount(CTransaction tx,uint8_t elected[64][33]) { CScript::const_iterator pc = tx.vin[vini].scriptSig.begin(); //CScript::const_iterator pend = tx.vin[vini].scriptSig.end(); - if ( CScript::GetPushedData(pc,vchSig) != 0 ) + if ( CScript::GetPushedData(pc,vData) != 0 ) { - for (j=0; j