Skip to content

fix: optimize AccountId cloning in AuthorityKeys::from_accounts#785

Open
Lil-Duckling-22 wants to merge 1 commit intoavailproject:mainfrom
Lil-Duckling-22:fix/optimize-authority-keys-cloning
Open

fix: optimize AccountId cloning in AuthorityKeys::from_accounts#785
Lil-Duckling-22 wants to merge 1 commit intoavailproject:mainfrom
Lil-Duckling-22:fix/optimize-authority-keys-cloning

Conversation

@Lil-Duckling-22
Copy link

Reduce unnecessary cloning by reusing stash clone for session_keys generation. Previously controller was cloned twice; now we clone once and reuse it, eliminating redundant memory allocation.

Reduce unnecessary cloning by reusing stash clone for session_keys
generation. Previously controller was cloned twice; now we clone once
and reuse it, eliminating redundant memory allocation.
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.

1 participant