Skip to content

Commit

Permalink
Update handlers.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shaqk authored May 20, 2023
1 parent 52134b1 commit d32647e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ async function handleGetBlockActions(msgObj, ws){
// let checkBlock = await checkValidBlockRange(msgObj.block_to_prove);
// if(!checkBlock.available) return ws.send(JSON.stringify({ type:"error", error: checkBlock.error }));

const res = await getIrreversibleBlock(msgObj.block_to_prove);
let res = await getIrreversibleBlock(msgObj.block_to_prove);
if(res.data) res = res.data;
const txs = await getTxs(res);

Expand Down

0 comments on commit d32647e

Please sign in to comment.