Merge pull request #1462 from dimxy/token-migration-fix

fix decoderawtransaction for importcoin
This commit is contained in:
jl777
2019-04-28 21:06:20 -11:00
committed by GitHub

View File

@@ -217,7 +217,8 @@ void TxToJSONExpanded(const CTransaction& tx, const uint256 hashBlock, UniValue&
{
if (rawproof.size() > 0)
{
std::string sourceSymbol(rawproof.begin(), rawproof.end());
std::string sourceSymbol;
E_UNMARSHAL(rawproof, ss >> sourceSymbol);
in.push_back(Pair("address", "IMP-" + sourceSymbol + "-" + burnTx.GetHash().ToString()));
}
}