Show full addresses in wallet list
All checks were successful
check / check (push) Successful in 13s
All checks were successful
check / check (push) Successful in 13s
Display complete addresses instead of truncated ones. Address poisoning attacks use matching prefixes/suffixes to fool users into copying fraud addresses. Showing the full address mitigates this.
This commit is contained in:
@@ -134,7 +134,7 @@ function renderWalletList() {
|
||||
|
||||
wallet.addresses.forEach((addr, ai) => {
|
||||
html += `<div class="address-row flex justify-between items-center py-1 border-b border-border-light cursor-pointer hover:bg-hover px-1" data-wallet="${wi}" data-address="${ai}">`;
|
||||
html += `<span class="text-xs">${truncateAddress(addr.address)}</span>`;
|
||||
html += `<span class="text-xs break-all">${addr.address}</span>`;
|
||||
html += `<span class="text-xs">${addr.balance} ETH</span>`;
|
||||
html += `</div>`;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user