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

Fix after #9123 (Select coins for round abstraction) #9615

Conversation

kiminuo
Copy link
Collaborator

@kiminuo kiminuo commented Nov 24, 2022

Related discussion is here: #9123 (comment)

#9123 breaks the wallet as the wallet cannot work with "unknown script types". This PR fixes that in a minimal way.

ISmartCoin interface is not entirely great because of ScriptType that is not nullable but it cannot be easily turned into nullable either. Hopefully, we will find a way to improve it later.

Alternative to #9616

@nopara73

This comment was marked as outdated.

@nopara73
Copy link
Contributor

Tested and it does work indeed.

@nopara73 nopara73 marked this pull request as ready for review November 24, 2022 10:19
@nopara73 nopara73 mentioned this pull request Nov 24, 2022
Copy link
Contributor

@nopara73 nopara73 left a comment

Choose a reason for hiding this comment

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

Code LGTM, tACK, let's merge as soon as CI passes

@kiminuo kiminuo changed the title NBitcoinExtensions: Add missing script types Fix after #9123 (Select coins for round abstraction) Nov 24, 2022
@kiminuo kiminuo merged commit 3bd34b6 into WalletWasabi:master Nov 24, 2022
@kiminuo kiminuo deleted the feature/2022-11-24-NBitcoinExtensions-scriptTypes branch November 24, 2022 10:37
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