mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-12-16 08:14:15 -05:00
Improve error msg
This commit is contained in:
parent
538751b9da
commit
f14facfef1
1 changed files with 3 additions and 1 deletions
|
|
@ -146,7 +146,9 @@ public class ProcessModel implements Model, Serializable {
|
||||||
|
|
||||||
public byte[] getArbitratorPubKey(NodeAddress arbitratorNodeAddress) {
|
public byte[] getArbitratorPubKey(NodeAddress arbitratorNodeAddress) {
|
||||||
Arbitrator acceptedArbitratorByAddress = user.getAcceptedArbitratorByAddress(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();
|
return acceptedArbitratorByAddress.getBtcPubKey();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue