mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-13 10:45:51 +00:00
correctly identify leaf keys
This commit is contained in:
parent
523d97b5dd
commit
4713c76a29
@ -1245,7 +1245,7 @@ public class DeterministicKeyChain implements EncryptableKeyChain {
|
||||
ImmutableList.Builder<DeterministicKey> keys = ImmutableList.builder();
|
||||
for (ECKey key : getKeys(true)) {
|
||||
DeterministicKey dKey = (DeterministicKey) key;
|
||||
if (dKey.getPath().size() > 2) {
|
||||
if (dKey.getPath().size() == getAccountPath().size() + 2) {
|
||||
keys.add(dKey);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user