Remove duplicate destination decoding

pull/11259/head
João Barbosa 7 years ago
parent 8d0041e607
commit 86e6dd4b63

@ -91,8 +91,8 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco
if (nNet > 0)
{
// Credit
if (IsValidDestinationString(rec->address)) {
CTxDestination address = DecodeDestination(rec->address);
CTxDestination address = DecodeDestination(rec->address);
if (IsValidDestination(address)) {
if (wallet->mapAddressBook.count(address))
{
strHTML += "<b>" + tr("From") + ":</b> " + tr("unknown") + "<br>";

Loading…
Cancel
Save