We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd32c16 commit e587175Copy full SHA for e587175
Sources/Web3Core/KeystoreManager/BIP32Keystore.swift
@@ -192,12 +192,7 @@ public class BIP32Keystore: AbstractKeystore {
192
throw AbstractKeystoreError.keyDerivationError
193
}
194
195
- let newPath: String
196
- if newNode.isHardened {
197
- newPath = prefixPath + "/" + pathAppendix.trimmingCharacters(in: .init(charactersIn: "'")) + "'"
198
- } else {
199
- newPath = prefixPath + "/" + pathAppendix
200
- }
+ let newPath = prefixPath + "/" + pathAppendix
201
202
addressStorage.add(address: newAddress, for: newPath)
203
guard let serializedRootNode = rootNode.serialize(serializePublic: false) else {
0 commit comments