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

Wrong address from equivalents derivation path #67

Merged
merged 2 commits into from
Nov 15, 2022

Conversation

bdescamps
Copy link

refs #21

Copy link
Collaborator

@q9f q9f left a comment

Choose a reason for hiding this comment

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

Please run Rufo, otherwise looks good :)


describe "m/-0" do
before do
@node = @master.node_for_path "m/-0"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I understand that m/0', m/0p, and m/-0 are all the same just different notations. Is there any specific reason you use the negative notation here?

Copy link
Author

Choose a reason for hiding this comment

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

I am unable to see where I found the negative notation, probably my imagination....I will delete this code part

Copy link
Collaborator

Choose a reason for hiding this comment

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

Don't delete it. It's fine like this. It would be just more readable with the p notation

Suggested change
@node = @master.node_for_path "m/-0"
@node = @master.node_for_path "m/0p"

Copy link
Author

Choose a reason for hiding this comment

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

@node = @master.node_for_path "m/0p" is already present ( https://github.com/GemHQ/money-tree/pull/67/files#diff-a1ea91e56ff3d680c3d050616bda524a8b4eb8857c61b28304e319e290406725R222 ) .
Changes concerning rufo are done

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah great.

@q9f q9f merged commit 33eb84d into GemHQ:master Nov 15, 2022
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