This commit is contained in:
@@ -2832,7 +2832,7 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
|
|||||||
if (fAddressIndex) {
|
if (fAddressIndex) {
|
||||||
for (unsigned int k = 0; k < tx.vout.size(); k++) {
|
for (unsigned int k = 0; k < tx.vout.size(); k++) {
|
||||||
const CTxOut &out = tx.vout[k];
|
const CTxOut &out = tx.vout[k];
|
||||||
|
fprintf(stderr,"add %d vouts\n",(int32_t)tx.vout.size());
|
||||||
if (out.scriptPubKey.IsPayToScriptHash()) {
|
if (out.scriptPubKey.IsPayToScriptHash()) {
|
||||||
vector<unsigned char> hashBytes(out.scriptPubKey.begin()+2, out.scriptPubKey.begin()+22);
|
vector<unsigned char> hashBytes(out.scriptPubKey.begin()+2, out.scriptPubKey.begin()+22);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user