Skip to content

Commit 6f9e2e8

Browse files
committed
use mainnet etherscan + use 4 digits for wallet
1 parent 57d9d69 commit 6f9e2e8

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning].
77

88
## [Unreleased]
99

10+
## [1.4.2] - 2024-06-19
11+
12+
### Fixed
13+
14+
- use mainnet etherscan
15+
- show 4 fixed digits for eth balances
16+
1017
## [1.4.1] - 2024-06-06
1118

1219
### Fixed

src/components/Card.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
alt="ethereum icon"
5252
/>
5353
<a
54-
href="https://holesky.etherscan.io/address/{customAddressL1}"
54+
href="https://etherscan.io/address/{customAddressL1}"
5555
target="”_blank”"
5656
>
5757
{bodyString}

src/routes/Dashboard.svelte

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,15 +183,13 @@
183183
await ethRPC?.eth.getBalance(customAddressL1),
184184
"ether",
185185
),
186-
);
186+
).toFixed(4);
187187
188188
// Use the taiko RPC to be reliable, a node that's not synced will display false numbers
189-
L2Balance = Number(
190-
L2TaikoRPC?.utils.fromWei(
189+
L2Balance = Number(L2TaikoRPC?.utils.fromWei(
191190
await L2TaikoRPC?.eth.getBalance(customAddressL2),
192191
"ether",
193-
),
194-
);
192+
)).toFixed(4);
195193
}
196194
} else {
197195
L1Balance = null;

0 commit comments

Comments
 (0)