try
This commit is contained in:
@@ -432,6 +432,9 @@ UniValue getdatafromblock(const UniValue& params, bool fHelp)
|
|||||||
std::string firststreamid = HexStr(firsttx.vout[2].scriptPubKey.begin(), firsttx.vout[2].scriptPubKey.end());
|
std::string firststreamid = HexStr(firsttx.vout[2].scriptPubKey.begin(), firsttx.vout[2].scriptPubKey.end());
|
||||||
streamid.append(firststreamid.substr (8,64));
|
streamid.append(firststreamid.substr (8,64));
|
||||||
printf("first stream id changed to: %s\n", streamid.c_str());
|
printf("first stream id changed to: %s\n", streamid.c_str());
|
||||||
|
if ( firstdeqid == 1 ) {
|
||||||
|
firsttxnHeight == block.nHeight;
|
||||||
|
} else {
|
||||||
BlockMap::iterator mi = mapBlockIndex.find(hash);
|
BlockMap::iterator mi = mapBlockIndex.find(hash);
|
||||||
if (mi != mapBlockIndex.end() && (*mi).second) {
|
if (mi != mapBlockIndex.end() && (*mi).second) {
|
||||||
CBlockIndex* pindex = (*mi).second;
|
CBlockIndex* pindex = (*mi).second;
|
||||||
@@ -442,6 +445,7 @@ UniValue getdatafromblock(const UniValue& params, bool fHelp)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
failed = 1;
|
failed = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user