Browse Source

Remove duplicate destination decoding

0.16
João Barbosa 7 years ago
parent
commit
86e6dd4b63
  1. 4
      src/qt/transactiondesc.cpp

4
src/qt/transactiondesc.cpp

@ -91,8 +91,8 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco @@ -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