Skip to content

Commit

Permalink
fixed blockId
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchyn committed Mar 18, 2024
1 parent 8627593 commit 7c01267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapshotter/stake.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7c01267

Please sign in to comment.