Skip to content

Commit 4cf12a9

Browse files
author
Alan Christie
committed
fix: Corrected calculation (burn rate)
1 parent d66a272 commit 4cf12a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/coins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def main(c_args: argparse.Namespace) -> None:
8686
if "items" in pc_rv.msg["storage_charges"]:
8787
for item in pc_rv.msg["storage_charges"]["items"]:
8888
if "current_bytes" in item["additional_data"]:
89-
burn_rate = Decimal(item["coins"])
89+
burn_rate = Decimal(item["burn_rate"])
9090
else:
9191
total_storage_coins += Decimal(item["coins"])
9292
num_storage_charges += 1

0 commit comments

Comments
 (0)