Skip to content

Conversation

@JoeGruffins
Copy link
Member

closes #32

@JoeGruffins JoeGruffins changed the title multi: Add 12 and 24 seed restoration. multi: Add 12 and 24 word seed restoration. Oct 21, 2025
@JoeGruffins JoeGruffins marked this pull request as ready for review October 22, 2025 08:19
@JoeGruffins
Copy link
Member Author

switch nWords {
case 15:
seed, birthday, err = dexmnemonic.DecodeMnemonic(cfg.Mnemonic)
seedType = dcr.STFifteenWords
Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe doesn't even need the type... If this is how we tell in the beginning, can just always do this I guess

Copy link
Member Author

Choose a reason for hiding this comment

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

Leaving the type for now. I guess could have more types in the future that are the same length as current. This also reads better later.

@JoeGruffins JoeGruffins merged commit 29c832e into decred:master Oct 24, 2025
2 checks passed
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.

BIP39 seed support

2 participants