Remove duplicate destination decoding
This commit is contained in:
parent
8d0041e607
commit
86e6dd4b63
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue