Merge pull request #1462 from dimxy/token-migration-fix
fix decoderawtransaction for importcoin
This commit is contained in:
@@ -217,7 +217,8 @@ void TxToJSONExpanded(const CTransaction& tx, const uint256 hashBlock, UniValue&
|
|||||||
{
|
{
|
||||||
if (rawproof.size() > 0)
|
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()));
|
in.push_back(Pair("address", "IMP-" + sourceSymbol + "-" + burnTx.GetHash().ToString()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user