diff --git a/tui/keychainmanagementui/model.go b/tui/keychainmanagementui/model.go index e8add76..b0ed19e 100644 --- a/tui/keychainmanagementui/model.go +++ b/tui/keychainmanagementui/model.go @@ -277,7 +277,7 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { // set a default derivation path if m.focusIndex == len(m.inputs)+6+len(m.serviceNames)+1 { serviceName := m.newServiceInputs[0].Value() - derivationPath := "m/650'/" + serviceName + msg.String() + "/0" + derivationPath := "m/650'/" + serviceName + msg.String() m.newServiceInputs[1].SetValue(derivationPath) } } diff --git a/tui/tuiutils/utils.go b/tui/tuiutils/utils.go index ecee33d..dfe3208 100644 --- a/tui/tuiutils/utils.go +++ b/tui/tuiutils/utils.go @@ -68,7 +68,7 @@ func CreateKeychain(url string, accessSeed []byte) (string, string, string, stri rand.Read(randomSeed) keychain := archethic.NewKeychain(randomSeed) - keychain.AddService("uco", "m/650'/0/0", archethic.ED25519, archethic.SHA256) + keychain.AddService("uco", "m/650'/0", archethic.ED25519, archethic.SHA256) keychain.AddAuthorizedPublicKey(publicKey) accessAddress, err := archethic.DeriveAddress(accessSeed, 1, archethic.ED25519, archethic.SHA256)