Skip to content

used sdk code to avoid code duplication - reduced user_rate.rs file#117

Merged
grunch merged 1 commit into
MostroP2P:mainfrom
arkanoider:user-rate-optimization
Sep 22, 2023
Merged

used sdk code to avoid code duplication - reduced user_rate.rs file#117
grunch merged 1 commit into
MostroP2P:mainfrom
arkanoider:user-rate-optimization

Conversation

@arkanoider

Copy link
Copy Markdown
Collaborator

Hi @grunch ,

this need to be completely tested. Reduced a lot user_rate.rs file because nostr-sdk has implemented the same logic. So we are duplicating code. I admit i didn't test anything, but it should work, and in case we coul surely fix eventual issues to use the sdk code and avoid code duplication.

Waiting for comments...

@grunch grunch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@grunch grunch merged commit 1606446 into MostroP2P:main Sep 22, 2023
@arkanoider arkanoider deleted the user-rate-optimization branch September 28, 2023 07:47
Otso-Hirvikangas added a commit to Otso-Hirvikangas/mostro that referenced this pull request Sep 19, 2025
The mostro-core PR MostroP2P#117 has been merged, so we can now use the main repository instead of the fork.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants