This commit is contained in:
blackjok3r
2018-10-25 11:15:07 +08:00
parent 2630e93a16
commit 5b11f256aa

View File

@@ -371,7 +371,7 @@ UniValue getdatafromblock(const UniValue& params, bool fHelp)
}
}
char decodedstreamid[32];
decode_hex(decodedstreamid,32,streamid.c_str());
decode_hex(decodedstreamid,32,(char *)streamid.c_str());
printf("decoded hex: %s\n",(char *)decodedstreamid);
result.push_back(Pair("streamid", decodedstreamid));
result.push_back(Pair("firsttxid", firsttxid));