From f055c677918927b0d16a5fe4ee2b54a6cd8c45de Mon Sep 17 00:00:00 2001 From: Martin Stefcek Date: Wed, 13 Mar 2024 18:12:36 +0400 Subject: [PATCH 1/3] fix: inputs from as number --- routes/blocks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/blocks.js b/routes/blocks.js index bf946b9..344bde4 100644 --- a/routes/blocks.js +++ b/routes/blocks.js @@ -67,7 +67,7 @@ router.get("/:height_or_hash", async function (req, res) { let outputs_from = +(req.query.outputs_from || 0); let outputs_to = +(req.query.outputs_to || 10); - let inputs_from = req.query.inputs_from || 0; + let inputs_from = +(req.query.inputs_from || 0); let inputs_to = +(req.query.inputs_to || 10); let kernels_from = +(req.query.kernels_from || 0); let kernels_to = +(req.query.kernels_to || 10); From b7aeaf63c81a08370fb0a80265ea1f5a77928b12 Mon Sep 17 00:00:00 2001 From: Martin Stefcek Date: Mon, 18 Mar 2024 15:35:36 +0400 Subject: [PATCH 2/3] change outputs to delta outputs --- views/index.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/index.hbs b/views/index.hbs index 6999b70..f4a5062 100644 --- a/views/index.hbs +++ b/views/index.hbs @@ -135,7 +135,7 @@ Proof of Work Hash Kernels - Outputs + Δ of outputs From 0db1f04d018f6936061e5dd8b565cc81be0a4ace Mon Sep 17 00:00:00 2001 From: Martin Stefcek Date: Mon, 18 Mar 2024 15:36:17 +0400 Subject: [PATCH 3/3] capitalize --- views/index.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/index.hbs b/views/index.hbs index f4a5062..8e1188e 100644 --- a/views/index.hbs +++ b/views/index.hbs @@ -135,7 +135,7 @@ Proof of Work Hash Kernels - Δ of outputs + Δ of Outputs