Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/Node: id() on wrapper #1369

Closed
wants to merge 2 commits into from
Closed

Conversation

kwek20
Copy link
Contributor

@kwek20 kwek20 commented Oct 2, 2023

Description of change

the method .id(protocolparams) was missing on the blockwrapper type, which we have in rust

Brord van Wierst added 2 commits October 2, 2023 13:17
* @param params The network protocol parameters.
* @returns The corresponding block ID.
*/
id(params: ProtocolParameters): BlockId {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this another scenario where we're going to be importing stuff we don't need if you just want the types?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to be so yes. :/

@@ -8,6 +8,8 @@ import {
TokenSchemeType,
Output,
RentStructure,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't comment there, but 'Block' is defined but never used

@@ -15,6 +15,8 @@ import {
RentStructure,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't comment there, but 'Block' is defined but never used

@kwek20 kwek20 closed this Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants