Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
fage2022 committed Aug 9, 2024
1 parent 1d419df commit 6072384
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/util/formatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ const SECS_IN_DAY = 60 * 60 * 24;
const BLOCK_TIME = 6; // in seconds
function formatSpaceInfo(obj, blockHeight) {
const result = { ...obj };
result.currBlockHeight = blockHeight;
result.totalSpaceGib = 0;
result.totalSpaceStr = "0 GB";

Expand Down

0 comments on commit 6072384

Please sign in to comment.