Skip to content

Commit

Permalink
adding toString methods in rpc parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
asoto-iov committed Nov 24, 2023
1 parent a6d83ea commit 92c1510
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ public RskAddress getAddress() {
return address;
}

@Override
public String toString() {
return address.toString();
}

public static class Deserializer extends StdDeserializer<HexAddressParam> {
private static final long serialVersionUID = 1L;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ public String getHexNumber() {
return this.hexNumber;
}

@Override
public String toString() {
return this.hexNumber;
}

public static class Deserializer extends StdDeserializer<HexNumberParam> {
private static final long serialVersionUID = 1L;

Expand Down

0 comments on commit 92c1510

Please sign in to comment.