mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-09 07:02:24 -04:00
impossible condition. always non-null.
This commit is contained in:
parent
ea1d75cc45
commit
c2b691dd57
1 changed files with 10 additions and 11 deletions
|
@ -151,17 +151,16 @@ class ArbitratorRegistrationViewModel extends ActivatableViewModel {
|
||||||
registrationKey.getPubKey(),
|
registrationKey.getPubKey(),
|
||||||
registrationSignature
|
registrationSignature
|
||||||
);
|
);
|
||||||
if (arbitrator != null) {
|
|
||||||
arbitratorManager.addArbitrator(arbitrator,
|
arbitratorManager.addArbitrator(arbitrator,
|
||||||
() -> {
|
() -> {
|
||||||
updateDisableStates();
|
updateDisableStates();
|
||||||
resultHandler.handleResult();
|
resultHandler.handleResult();
|
||||||
},
|
},
|
||||||
(errorMessage) -> {
|
(errorMessage) -> {
|
||||||
updateDisableStates();
|
updateDisableStates();
|
||||||
errorMessageHandler.handleErrorMessage(errorMessage);
|
errorMessageHandler.handleErrorMessage(errorMessage);
|
||||||
});
|
});
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue