mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Rearrange fields and improve toString method
This commit is contained in:
parent
b3c31399a7
commit
ca34f8ecad
@ -40,6 +40,11 @@ public enum AssetTxProofResult {
|
||||
// Any service failed. Might be that the tx is invalid.
|
||||
FAILED;
|
||||
|
||||
// If isTerminal is set it means that we stop the service
|
||||
@Getter
|
||||
private final boolean isTerminal;
|
||||
@Getter
|
||||
private String details = "";
|
||||
@Getter
|
||||
private int numSuccessResults;
|
||||
@Getter
|
||||
@ -48,11 +53,7 @@ public enum AssetTxProofResult {
|
||||
private int numConfirmations;
|
||||
@Getter
|
||||
private int numRequiredConfirmations;
|
||||
@Getter
|
||||
private String details = "";
|
||||
// If isTerminal is set it means that we stop the service
|
||||
@Getter
|
||||
private final boolean isTerminal;
|
||||
|
||||
|
||||
AssetTxProofResult() {
|
||||
this(true);
|
||||
@ -91,11 +92,12 @@ public enum AssetTxProofResult {
|
||||
@Override
|
||||
public String toString() {
|
||||
return "AssetTxProofResult{" +
|
||||
"\n numSuccessResults=" + numSuccessResults +
|
||||
",\n requiredSuccessResults=" + numRequiredSuccessResults +
|
||||
"\n details='" + details + '\'' +
|
||||
",\n isTerminal=" + isTerminal +
|
||||
",\n numSuccessResults=" + numSuccessResults +
|
||||
",\n numRequiredSuccessResults=" + numRequiredSuccessResults +
|
||||
",\n numConfirmations=" + numConfirmations +
|
||||
",\n numRequiredConfirmations=" + numRequiredConfirmations +
|
||||
",\n details='" + details + '\'' +
|
||||
"\n} " + super.toString();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user