Skip to content

Commit

Permalink
Update Derivation Path in DefaultKeyChainFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
ProtocolCash committed Apr 18, 2019
1 parent 693d3fb commit e445386
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public DeterministicKeyChain makeKeyChain(Protos.Key key, Protos.Key firstSubKey
@Override
public DeterministicKeyChain makeWatchingKeyChain(Protos.Key key, Protos.Key firstSubKey, DeterministicKey accountKey,
boolean isFollowingKey, boolean isMarried) throws UnreadableWalletException {
if (!accountKey.getPath().equals(DeterministicKeyChain.ACCOUNT_ZERO_PATH))
if (!accountKey.getPath().equals(DeterministicKeyChain.BIP44_ACCOUNT_145_PATH))
throw new UnreadableWalletException("Expecting account key but found key with path: " +
HDUtils.formatPath(accountKey.getPath()));
DeterministicKeyChain chain;
Expand Down

0 comments on commit e445386

Please sign in to comment.