mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-20 07:46:05 -04:00
Improve error msg
This commit is contained in:
parent
538751b9da
commit
f14facfef1
@ -146,7 +146,9 @@ public class ProcessModel implements Model, Serializable {
|
||||
|
||||
public byte[] getArbitratorPubKey(NodeAddress arbitratorNodeAddress) {
|
||||
Arbitrator acceptedArbitratorByAddress = user.getAcceptedArbitratorByAddress(arbitratorNodeAddress);
|
||||
checkNotNull(acceptedArbitratorByAddress, "acceptedArbitratorByAddress must not be null. Maybe there is no arbitrator in the network available.");
|
||||
checkNotNull(acceptedArbitratorByAddress, "acceptedArbitratorByAddress must not be null.\n" +
|
||||
"Maybe there is no arbitrator in the network available or you did not receive the data from the P2P network.\n" +
|
||||
"You can try to restart the app to see if that resolved the issue.");
|
||||
return acceptedArbitratorByAddress.getBtcPubKey();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user