try fix for calling getdata out of order

This commit is contained in:
blackjok3r
2018-10-25 17:46:09 +08:00
parent 8c0de51c08
commit c3a4829ba5

View File

@@ -398,6 +398,9 @@ UniValue getdatafromblock(const UniValue& params, bool fHelp)
firsttxid.append(idstr);
} else if ( firsttxid != idstr ) {
printf("firsttxid.%s idstr.%s change firsttxid and wipe streamid?\n we are in a new stream here I think\n",firsttxid.c_str(),idstr.c_str());
firsttxid.clear();
firsttxid.append(idstr);
streamid.clear();
}
if ( seqid == (lastseqid + 1) || did1 == 0 ) {