MrLuit / EtherScamDB

Keep track of all current ethereum scams in a large database
MIT License
165 stars 77 forks source link

Etherscan address link doesn't work #357

Closed 409H closed 6 years ago

409H commented 6 years ago

Something is off with lines https://github.com/MrLuit/EtherScamDB/blob/master/run.js#L443 and https://github.com/MrLuit/EtherScamDB/blob/master/_layouts/address.html#L8 as the {{ address.address }} doesn't replace.

Example: https://etherscamdb.info/address/0xe4fa5149306b12d51dc0d04e5e95bc9704ccaad7/

<div class="ui body container">
<link rel="stylesheet" href="/css/address.css">
<h1>0xe4fa5149306b12d51dc0d04e5e95bc9704ccaad7</h1>
<div class="ui mini red message"><i class="warning sign icon"></i> Warning: Do not send money to this address</div>
<b>Balance</b>: <span id="balance">0 ETH</span><br>
<b>USD Value</b>: <span id="value">0$ (745.14 USD/ETH)</span><br>
<b>Related to the following scams</b>: <div class="ui bulleted list"><div class="item"><a href="/scam/2135/">OmiseGO.com</a></div></div><a href="/scam/2135/">
<div class="ui divider"></div>
</a><a target="_blank" href="https://etherscan.io/address/{{ address.address }}"><i class="external icon"></i> View address on etherscan</a><br>
MrLuit commented 6 years ago

Fixed by #486 👍