Skip to content

Conversation

@JoseSK999
Copy link
Contributor

This is more suitable as Block has a method that directly computes the weight (accounting for the header and coinbase, which we didn't).

In validate_block_no_acc I added a few .into(). Renamed FirstTxIs/n/NotCoinbase to FirstTxIsNotCoinbase

@jaoleal
Copy link
Collaborator

jaoleal commented Jan 14, 2025

ACK.

👍

Copy link
Member

@Davidson-Souza Davidson-Souza left a comment

Choose a reason for hiding this comment

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

Concept ACK. Just a super small nit and it's ready to go

This is more suitable as `Block` has a method that directly computes the weight (accounting for the header and coinbase, which we didn't).

In `validate_block_no_acc` I added a few `.into()`. Renamed `FirstTxIs/n/NotCoinbase` to `FirstTxIsNotCoinbase`
@JoseSK999
Copy link
Contributor Author

Done! Looks pretty nicer

@Davidson-Souza Davidson-Souza merged commit cd33135 into vinteumorg:master Jan 15, 2025
6 checks passed
@JoseSK999 JoseSK999 deleted the block-wu branch January 15, 2025 16:15
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