Skip to content

Commit

Permalink
Remove duplicate destination decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
promag committed Sep 6, 2017
1 parent 8d0041e commit 86e6dd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qt/transactiondesc.cpp
Expand Up @@ -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>";
Expand Down

0 comments on commit 86e6dd4

Please sign in to comment.