This commit is contained in:
jl777
2018-05-07 17:07:38 +03:00
parent 6d04359865
commit 3ed2e7334c
2 changed files with 2 additions and 2 deletions

View File

@@ -491,7 +491,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
pblocktemplate->vTxFees.push_back(txfees);
pblocktemplate->vTxSigOps.push_back(GetLegacySigOpCount(txNotary));
nFees += txfees;
//fprintf(stderr,"add notaryvin\n");
fprintf(stderr,"added notaryvin\n");
} else fprintf(stderr,"error adding notaryvin\n");
}
else

View File

@@ -4509,7 +4509,7 @@ int32_t komodo_notaryvin(CMutableTransaction &txNew,uint8_t *notarypub33)
//utxotxid = out.tx->GetHash();
utxovout = out.i;
best_scriptPubKey = out.tx->vout[out.i].scriptPubKey;
//fprintf(stderr,"check %s/v%d %llu\n",(char *)out.tx->GetHash().GetHex().c_str(),utxovout,(long long)utxovalue);
fprintf(stderr,"check %s/v%d %llu\n",(char *)utxotxid.c_str(),utxovout,(long long)utxovalue);
bool signSuccess; SignatureData sigdata; uint64_t txfee; uint8_t *ptr; uint256 revtxid,utxotxid;
auto consensusBranchId = CurrentEpochBranchId(chainActive.Height() + 1, Params().GetConsensus());