KevinVitale / WalletKit

Modern Swift implementations of BIP39, BIP32, and BIP44
Apache License 2.0
16 stars 8 forks source link

[BIP32] Fix missing implementation of "public-to-public" child key derivation #1

Open KevinVitale opened 4 years ago

KevinVitale commented 4 years ago

Currently, ExtendedKey.Derivation.toPrivate(at:) will throw an exception if called from a parent public extended key. This is obviously not good...and after several days of attempting to fix it, I've given up for the time being.

For more info: BIP32 Spec