Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 committed Dec 8, 2023
1 parent 091ce0a commit 4bd270e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions bindings/nodejs/lib/types/block/core/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ class Block {
/**
* Gets the block id.
*/
// id(params: ProtocolParameters): BlockId {
id(params: any): BlockId {
id(params: ProtocolParameters): BlockId {
return Utils.blockId(this, params);
}
}
Expand Down
3 changes: 1 addition & 2 deletions bindings/nodejs/lib/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,7 @@ export class Utils {
* @param params The network protocol parameters.
* @returns The corresponding block ID.
*/
// static blockId(block: Block, params: ProtocolParameters): BlockId {
static blockId(block: Block, params: any): BlockId {
static blockId(block: Block, params: ProtocolParameters): BlockId {
return callUtilsMethod({
name: 'blockId',
data: {
Expand Down

0 comments on commit 4bd270e

Please sign in to comment.