mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-02 21:47:18 +00:00
Fix issue with deserialization and currentAddresses
This commit is contained in:
@@ -157,7 +157,7 @@ public class KeyChainGroup {
|
||||
marriedKeysScripts = new LinkedHashMap<ByteString, Script>();
|
||||
maybeLookaheadScripts();
|
||||
|
||||
if (!this.currentKeys.isEmpty()) {
|
||||
if (!this.followingKeychains.isEmpty()) {
|
||||
DeterministicKey followedWatchKey = getActiveKeyChain().getWatchingKey();
|
||||
for (Map.Entry<KeyChain.KeyPurpose, DeterministicKey> entry : this.currentKeys.entrySet()) {
|
||||
Address address = makeP2SHOutputScript(entry.getValue(), followedWatchKey).getToAddress(params);
|
||||
|
||||
Reference in New Issue
Block a user