You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" java.lang.IllegalArgumentException: No key found for absolute path M/0H.
at org.bitcoinj.crypto.DeterministicHierarchy.get(DeterministicHierarchy.java:89)
at org.bitcoinj.crypto.DeterministicHierarchy.deriveChild(DeterministicHierarchy.java:147)
at org.bitcoinj.wallet.DeterministicKeyChain.initializeHierarchyUnencrypted(DeterministicKeyChain.java:439)
at org.bitcoinj.wallet.DeterministicKeyChain.<init>(DeterministicKeyChain.java:326)
at org.bitcoinj.wallet.DeterministicKeyChain.watch(DeterministicKeyChain.java:352)
at org.bitcoinj.wallet.KeyChainGroup.<init>(KeyChainGroup.java:92)
at org.bitcoinj.wallet.Wallet.fromWatchingKey(Wallet.java:281)
at org.bitcoinj.examples.ColdWallet.main(ColdWallet.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
I think that is true in the error place, the keys.containsKey(absolutePath) should be true. But it false and throw the Exception. Who can tell me why ? Tx.
The text was updated successfully, but these errors were encountered:
My code like this
And I get a Execption
I think that is true in the error place, the
keys.containsKey(absolutePath)
should be true. But it false and throw the Exception. Who can tell me why ? Tx.The text was updated successfully, but these errors were encountered: