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

TransactionSummary: cleanup #11490

Conversation

kiminuo
Copy link
Collaborator

@kiminuo kiminuo commented Sep 13, 2023

Meant to simplify #11458 to avoid diff changes like:

something.TransactionId -> something.GetHash()

using WalletWasabi.Models;

namespace WalletWasabi.Blockchain.Transactions;

public class TransactionSummary
{
public TransactionSummary(SmartTransaction tx, Money amount, IEnumerable<IInput> inputs, IEnumerable<Output> outputs, IEnumerable<BitcoinAddress> destinationAddresses)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This shows that inputs and outputs are not used at all.

@kiminuo kiminuo force-pushed the feature/2023-09-13-TransactionSummary-cleanup branch from d56efac to 8ebf282 Compare September 13, 2023 21:56
@kiminuo kiminuo marked this pull request as ready for review September 13, 2023 21:59
Copy link
Collaborator

@turbolay turbolay left a comment

Choose a reason for hiding this comment

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

Contains all the safe changes from #11458

Copy link
Collaborator

@adamPetho adamPetho left a comment

Choose a reason for hiding this comment

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

tACK

@adamPetho adamPetho merged commit 13ef619 into WalletWasabi:master Sep 14, 2023
6 of 7 checks passed
@kiminuo kiminuo deleted the feature/2023-09-13-TransactionSummary-cleanup branch September 14, 2023 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants