mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-02 03:36: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(),
|
||||
registrationSignature
|
||||
);
|
||||
if (arbitrator != null) {
|
||||
arbitratorManager.addArbitrator(arbitrator,
|
||||
() -> {
|
||||
updateDisableStates();
|
||||
resultHandler.handleResult();
|
||||
},
|
||||
(errorMessage) -> {
|
||||
updateDisableStates();
|
||||
errorMessageHandler.handleErrorMessage(errorMessage);
|
||||
});
|
||||
}
|
||||
|
||||
arbitratorManager.addArbitrator(arbitrator,
|
||||
() -> {
|
||||
updateDisableStates();
|
||||
resultHandler.handleResult();
|
||||
},
|
||||
(errorMessage) -> {
|
||||
updateDisableStates();
|
||||
errorMessageHandler.handleErrorMessage(errorMessage);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue