From c7fde0a2c3c7232fe3b427207c07b4f68ec74b99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Mon, 3 Jun 2024 12:11:57 +0200 Subject: [PATCH] feat: improve output of manual check (#72) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: improve output of manual check Fix `byteLength: NaN`. Add more fields to the stats object, to make the final log more useful. Signed-off-by: Miroslav Bajtoš * fixup! standard --fix Signed-off-by: Miroslav Bajtoš --------- Signed-off-by: Miroslav Bajtoš --- manual-check.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual-check.js b/manual-check.js index 5d7b13c..50906cd 100644 --- a/manual-check.js +++ b/manual-check.js @@ -11,5 +11,5 @@ const minerId = 'f010479' // Run the check const spark = new Spark() -const stats = {} +const stats = { cid, minerId, indexerResult: null, statusCode: null, byteLength: 0 } await spark.executeRetrievalCheck({ cid, minerId }, stats)