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

Get rid of HistoricTransaction::into_transaction #2515

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

hrxi
Copy link
Contributor

@hrxi hrxi commented May 23, 2024

This method was lossy, among others, it lost the actual transaction hash.

Instead, move the generation of transactions to the places where the hash can also be captured.

Fixes #2514.

@sisou
Copy link
Member

sisou commented May 27, 2024

Did the method lose any other details, too?

Copy link
Member

@sisou sisou left a comment

Choose a reason for hiding this comment

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

I cannot review from code-style point-of-view, but I have tested these changes and the hashes returned are now correct.

hrxi added 2 commits June 11, 2024 07:59
This method was lossy, among others, it lost the actual transaction
hash.

Instead, move the generation of transactions to the places where the
hash can also be captured.

Fixes #2514.
@styppo styppo force-pushed the hrxi/fix_reward_hashes branch from 61b503d to 9d7cbb0 Compare June 11, 2024 05:59
@styppo styppo merged commit 9d7cbb0 into albatross Jun 11, 2024
7 checks passed
@styppo styppo deleted the hrxi/fix_reward_hashes branch June 11, 2024 07:09
@jsdanielh jsdanielh added this to the Nimiq PoS Mainnet milestone Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants