This commit is contained in:
blackjok3r
2018-10-25 01:14:47 +08:00
parent 3d29921a25
commit 81ae02e649

View File

@@ -334,7 +334,7 @@ UniValue getdatafromblock(const UniValue& params, bool fHelp)
// ignore first and last TX and any TX that does not have 3 vouts.
if ( (i == 0) || (i == (block.vtx.size() -1)) || (tx.vout.size() != 3) )
{
fprintf(stderr, "skipped tx number: %d\n,i";
fprintf(stderr, "skipped tx number: %d\n,i)";
} else {
std::string opretstr = HexStr(tx.vout[2].scriptPubKey.begin(), tx.vout[2].scriptPubKey.end());
if ( opretstr.size() > 81 ) {