mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
AddressEntryList: arbitrator entry use P2PKH
This commit is contained in:
parent
a3708485f9
commit
a9cc28f65a
1 changed files with 2 additions and 1 deletions
|
@ -137,7 +137,8 @@ public final class AddressEntryList implements PersistableEnvelope, PersistedDat
|
|||
toBeRemoved.forEach(entrySet::remove);
|
||||
} else {
|
||||
// As long the old arbitration domain is not removed from the code base we still support it here.
|
||||
entrySet.add(new AddressEntry(wallet.freshReceiveKey(), AddressEntry.Context.ARBITRATOR, true));
|
||||
DeterministicKey key = (DeterministicKey) wallet.findKeyFromAddress(wallet.freshReceiveAddress(Script.ScriptType.P2PKH));
|
||||
entrySet.add(new AddressEntry(key, AddressEntry.Context.ARBITRATOR, false));
|
||||
}
|
||||
|
||||
// In case we restore from seed words and have balance we need to add the relevant addresses to our list.
|
||||
|
|
Loading…
Add table
Reference in a new issue