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

Config: Merge load methods #10077

Merged

Conversation

kiminuo
Copy link
Collaborator

@kiminuo kiminuo commented Feb 7, 2023

Comment on lines -217 to -222
public override void LoadOrCreateDefaultFile()
/// <inheritdoc/>
public override void LoadFile(bool createIfMissing = false)
{
base.LoadOrCreateDefaultFile();

ServiceConfiguration = new ServiceConfiguration(GetBitcoinP2pEndPoint(), DustThreshold);
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The duplication we want to get rid of.

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.

tACK

@kiminuo kiminuo marked this pull request as ready for review February 8, 2023 12:37
@kiminuo kiminuo requested a review from molnard February 8, 2023 12:37
Copy link
Collaborator

@molnard molnard left a comment

Choose a reason for hiding this comment

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

LGTM

@molnard molnard merged commit 4bec8db into zkSNACKs:master Feb 8, 2023
@kiminuo kiminuo deleted the feature/2023-02-07-Config-and-Load-methods branch February 8, 2023 19:01
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