TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Decentral Bank fixes bug that let one user mint 10T USN for just $10

46 pointsby 0xedbalmost 3 years ago

7 comments

oneoff786almost 3 years ago
&gt; The bug caused a misplacement of decimal points when refunding pavladiv.near’s USN. Instead of returning 4.9995 USN (about $5), the smart contract bug minted 4.9995 trillion USN<p>Don’t worry guys, we fixed the regex in our currency conversion code, so your money will be fine now.
评论 #32022253 未加载
评论 #32021875 未加载
simmerupalmost 3 years ago
So they destroyed someone’s coins because they can’t code.<p>What a joke. So much for code is the contract.
评论 #32024519 未加载
评论 #32020327 未加载
评论 #32020103 未加载
Rainymoodalmost 3 years ago
Very decentralized, until we don&#x27;t like it anymore, then very centralized.
senttoschoolalmost 3 years ago
&quot;Code is law&quot;. LOL. As a software dev, I would never trust any code as the law. Nothing is ever fool-proof.
bmillearealmost 3 years ago
Putting the central in decentral since &#x27;22.
mrjinalmost 3 years ago
Oh well, de-centralizing by centralizing. Catch-22.
ejanusalmost 3 years ago
Do they do unit test at all?