Skip to content

Commit

Permalink
replaces 107a with coin_type
Browse files Browse the repository at this point in the history
  • Loading branch information
shufps committed Feb 22, 2023
1 parent 50b271e commit 1b2acf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Flags:
---
#### 0x11 - Set Account

All private keys are derived from the bip32-path `2c'/107a'/address'/change'/index'`. This command sets the address bip32 index. The MSB must be set to indicate a *hardened* index. When executing `Set Account` the API and data buffer is initialized. The data buffer state is set to `EMPTY`. In the following documentation, `BIP32 index` always means the 5th part of the BIP32 path and `BIP32 change` always the 4th.
All private keys are derived from the bip32-path `2c'/coin_type'/address'/change'/index'`. This command sets the address bip32 index. The MSB must be set to indicate a *hardened* index. When executing `Set Account` the API and data buffer is initialized. The data buffer state is set to `EMPTY`. In the following documentation, `BIP32 index` always means the 5th part of the BIP32 path and `BIP32 change` always the 4th.

**Precondition**: \-

Expand Down
2 changes: 1 addition & 1 deletion src/iota/ed25519.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


// bip-path
// 0x2c'/0x107a'/account'/change'/index'
// 0x2c'/coin_type'/account'/change'/index'


uint8_t ed25519_get_key_pair(uint32_t *bip32_path, uint32_t bip32_path_length,
Expand Down

0 comments on commit 1b2acf5

Please sign in to comment.