Skip to content

Conversation

jasonz-dfinity
Copy link
Contributor

This is a trivial inlining, since NeuronId::from_subaccount is only used in one place. Putting it together with production code creates confusion about how NNS neuron ids are created in production.

@jasonz-dfinity jasonz-dfinity requested a review from a team as a code owner January 25, 2025 00:01
@github-actions github-actions bot added the chore label Jan 25, 2025
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

If this pull request affects the behavior of any canister owned by
the Governance team, remember to update the corresponding
unreleased_changes.md file(s).

To acknowldge this reminder (and unblock the PR), dismiss this
code review by going to the bottom of the pull request page, and
supply one of the following reasons:

  1. Done.

  2. No canister behavior changes.

@jasonz-dfinity jasonz-dfinity added this pull request to the merge queue Jan 28, 2025
Merged via the queue into master with commit a8dc041 Jan 28, 2025
24 checks passed
@jasonz-dfinity jasonz-dfinity deleted the jason/misc-refactor-neuron-id-from-subaccount branch January 28, 2025 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants