mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-11-17 00:07:49 +00:00
synchronize on wallet while importing multisig hex
This commit is contained in:
parent
2b41e82b86
commit
0bc5300a27
1 changed files with 10 additions and 8 deletions
|
@ -788,6 +788,7 @@ public abstract class Trade implements Tradable, Model {
|
|||
}
|
||||
|
||||
public void importMultisigHex() {
|
||||
synchronized (walletLock) {
|
||||
List<String> multisigHexes = new ArrayList<String>();
|
||||
if (getBuyer().getUpdatedMultisigHex() != null) multisigHexes.add(getBuyer().getUpdatedMultisigHex());
|
||||
if (getSeller().getUpdatedMultisigHex() != null) multisigHexes.add(getSeller().getUpdatedMultisigHex());
|
||||
|
@ -798,6 +799,7 @@ public abstract class Trade implements Tradable, Model {
|
|||
log.info("Done importing multisig hex for {} {}", getClass().getSimpleName(), getId());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void changeWalletPassword(String oldPassword, String newPassword) {
|
||||
synchronized (walletLock) {
|
||||
|
|
Loading…
Reference in a new issue