Skip to content

Conversation

@tizoc
Copy link
Collaborator

@tizoc tizoc commented May 9, 2024

This was causing the genesis protocol state hash to be computed incorrectly.

@tizoc tizoc merged commit 37a1709 into develop May 9, 2024
@tizoc tizoc deleted the fix/coinbase-stack-data-zero branch May 9, 2024 15:20
}

impl CoinbaseStackData {
pub fn zero() -> Self {
Copy link
Contributor

Choose a reason for hiding this comment

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

@tizoc That method should probably be renamed to empty ? To make it clear that it's value is not zero

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

good point

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

(and same for the callers which are currently named zero too)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

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