mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Remove duplicate destination decoding
This commit is contained in:
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…
Reference in New Issue
Block a user