try?
This commit is contained in:
@@ -430,8 +430,8 @@ UniValue getdatafromblock(const UniValue& params, bool fHelp)
|
|||||||
uint256 firsttxid_256(uint256S(firsttxid));
|
uint256 firsttxid_256(uint256S(firsttxid));
|
||||||
if (GetTransaction(firsttxid_256,firsttx,hash,false)) {
|
if (GetTransaction(firsttxid_256,firsttx,hash,false)) {
|
||||||
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());
|
||||||
printf("first stream id changed to: %s\n", firststreamid.c_str());
|
|
||||||
streamid.append(firststreamid.substr (8,64));
|
streamid.append(firststreamid.substr (8,64));
|
||||||
|
printf("first stream id changed to: %s\n", streamid.c_str());
|
||||||
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user