From 7c0126781587d084e35ab33259798a4d8feddee3 Mon Sep 17 00:00:00 2001 From: akorchyn Date: Mon, 18 Mar 2024 17:21:19 +0200 Subject: [PATCH] fixed blockId --- snapshotter/stake.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapshotter/stake.js b/snapshotter/stake.js index 1dafc62..b288935 100644 --- a/snapshotter/stake.js +++ b/snapshotter/stake.js @@ -24,7 +24,7 @@ program program.parse(process.argv); const options = program.opts(); -let blockId = options.block; +let blockId = parseInt(options.block); const dbParams = { database: options.dbname, user: options.user,