Made time locked addresses visible

This commit is contained in:
Michael Toutonghi
2018-05-28 12:45:22 -07:00
parent 3a868069d3
commit cc1ae28b0c
4 changed files with 51 additions and 3 deletions

View File

@@ -1606,7 +1606,13 @@ void ListTransactions(const CWalletTx& wtx, const string& strAccount, int nMinDe
if(involvesWatchonly || (::IsMine(*pwalletMain, r.destination) & ISMINE_WATCH_ONLY))
entry.push_back(Pair("involvesWatchonly", true));
entry.push_back(Pair("account", account));
MaybePushAddress(entry, r.destination);
CTxDestination dest;
if (CScriptExt::ExtractVoutDestination(wtx, r.vout, dest))
MaybePushAddress(entry, dest);
else
MaybePushAddress(entry, r.destination);
if (wtx.IsCoinBase())
{
int btm;