From 1b2acf57c3ae2445a05606a5cb0c5c0b7768f476 Mon Sep 17 00:00:00 2001 From: shufps Date: Wed, 22 Feb 2023 10:40:45 +0100 Subject: [PATCH] replaces 107a with coin_type --- docs/specification.md | 2 +- src/iota/ed25519.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/specification.md b/docs/specification.md index 9fee1e4..d4bd70d 100644 --- a/docs/specification.md +++ b/docs/specification.md @@ -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**: \- diff --git a/src/iota/ed25519.c b/src/iota/ed25519.c index cb47cca..cbb2e87 100644 --- a/src/iota/ed25519.c +++ b/src/iota/ed25519.c @@ -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,