Skip to content

Commit

Permalink
feat(python): add ability to set up a device with SLIP39 "single"
Browse files Browse the repository at this point in the history
  • Loading branch information
ibz committed Jun 5, 2024
1 parent ed58409 commit 3c37149
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/.changelog.d/3868.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added flag for setting up device using SLIP39 "single".
1 change: 1 addition & 0 deletions core/.changelog.d/3868.incompatible
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Renamed flag used for setting up device using BIP39 to `basic`.
3 changes: 2 additions & 1 deletion python/src/trezorlib/cli/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
}

BACKUP_TYPE = {
"single": messages.BackupType.Bip39,
"bip39": messages.BackupType.Bip39,
"single": messages.BackupType.Slip39_Single_Extendable,
"shamir": messages.BackupType.Slip39_Basic,
"advanced": messages.BackupType.Slip39_Advanced,
}
Expand Down

0 comments on commit 3c37149

Please sign in to comment.