Skip to content

Commit

Permalink
Update ZecToZatsConverter.tsx
Browse files Browse the repository at this point in the history
 1 ZEC = 100,000,000 Zats    (typo)
  • Loading branch information
dismad authored Nov 28, 2024
1 parent 86d9412 commit 4057924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Converter/ZecToZatsConverter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const ZecToZatsConverter: React.FC = () => {
const zecValue = parseFloat(value);
if (!isNaN(zecValue)) {
setZec(zecValue);
setZats(zecValue * 1_000_000_000); // 1 ZEC = 1,000,000,000 Zats
setZats(zecValue * 100_000_000); // 1 ZEC = 100,000,000 Zats
} else {
setZec("");
setZats("");
Expand Down

0 comments on commit 4057924

Please sign in to comment.