Skip to content

Commit

Permalink
rm unneeded delete statement
Browse files Browse the repository at this point in the history
  • Loading branch information
kajoseph committed Feb 17, 2025
1 parent 81f2fae commit 286461b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ export class InternalStateProvider implements IChainStateService {
}

async getBlock(params: GetBlockParams) {
let blocks = await this.getBlocks(params);
delete (blocks[0] as any)?._id;
const blocks = await this.getBlocks(params);
return blocks[0];
}

Expand Down

0 comments on commit 286461b

Please sign in to comment.