add IMP-<source>-<txid> to export address for explorer.
This commit is contained in:
@@ -218,7 +218,7 @@ 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(rawproof.begin(), rawproof.end());
|
||||||
in.push_back(Pair("address", sourceSymbol));
|
in.push_back(Pair("address", "IMP-" + sourceSymbol + "-" + burnTx.GetHash().ToString()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user