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

AllTransactionStore: Fix accessibility modifiers #12096

Conversation

kiminuo
Copy link
Collaborator

@kiminuo kiminuo commented Dec 18, 2023

This shows what the API actually is. internal methods are needed only for tests.

{
lock (Lock)
{
AddOrUpdateNoLock(tx);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I just inlined this method.

@@ -153,23 +148,23 @@ public IEnumerable<SmartTransaction> GetTransactions()
}
}

public IEnumerable<uint256> GetTransactionHashes()
internal IEnumerable<uint256> GetTransactionHashes()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Useful only in tests, so marked as internal to make it more obvious.

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 ab5341b into WalletWasabi:master Dec 20, 2023
7 checks passed
@kiminuo kiminuo deleted the feature/2023-11-28-AllTransactionStore-accessiblity-modfiers branch December 20, 2023 12:50
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

2 participants