java.lang.IllegalArgumentException: No key found for absolute path M/0H.

Bitcoin | Chris Stewart | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Creating a Deterministic Keychain from BIP32 master public key

    Bitcoin | 2 years ago | Chris Stewart
    java.lang.IllegalArgumentException: No key found for absolute path M/0H.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      No key found for absolute path M/0H.

      at org.bitcoinj.crypto.DeterministicHierarchy.get()
    2. org.bitcoinj.crypto
      DeterministicHierarchy.deriveChild
      1. org.bitcoinj.crypto.DeterministicHierarchy.get(DeterministicHierarchy.java:94)
      2. org.bitcoinj.crypto.DeterministicHierarchy.deriveChild(DeterministicHierarchy.java:152)
      2 frames
    3. org.bitcoinj.wallet
      KeyChainGroup.<init>
      1. org.bitcoinj.wallet.DeterministicKeyChain.initializeHierarchyUnencrypted(DeterministicKeyChain.java:590)
      2. org.bitcoinj.wallet.DeterministicKeyChain.<init>(DeterministicKeyChain.java:384)
      3. org.bitcoinj.wallet.DeterministicKeyChain.<init>(DeterministicKeyChain.java:393)
      4. org.bitcoinj.wallet.DeterministicKeyChain.watch(DeterministicKeyChain.java:444)
      5. org.bitcoinj.wallet.DeterministicKeyChain.watch(DeterministicKeyChain.java:436)
      6. org.bitcoinj.wallet.KeyChainGroup.<init>(KeyChainGroup.java:115)
      6 frames
    4. org.bitcoinj.core
      Wallet.fromWatchingKey
      1. org.bitcoinj.core.Wallet.fromWatchingKey(Wallet.java:260)
      1 frame
    5. com.suredbits.core
      WalletTest$$anonfun$2.apply
      1. com.suredbits.core.bitcoin.WalletTest$$anonfun$2.apply$mcV$sp(WalletTest.scala:84)
      2. com.suredbits.core.bitcoin.WalletTest$$anonfun$2.apply(WalletTest.scala:80)
      3. com.suredbits.core.bitcoin.WalletTest$$anonfun$2.apply(WalletTest.scala:80)
      3 frames