Skip to content

Commit

Permalink
wallets: Remove dependency to Bisq 2 StringUtils Class
Browse files Browse the repository at this point in the history
We can't depend on Bisq 2's StringUtils class to be able to reuse the wallets library in Bisq 1.
  • Loading branch information
alvasw committed Sep 11, 2024
1 parent 26a677f commit ad23554
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package bisq.wallets.json_rpc;

import bisq.common.util.StringUtils;
import java.util.UUID;

@SuppressWarnings("ALL")
public class JsonRpcCall {
Expand All @@ -27,7 +27,7 @@ public class JsonRpcCall {
private final Object params;

public JsonRpcCall(String method, Object params) {
this.id = StringUtils.createUid();
this.id = UUID.randomUUID().toString();
this.method = method;
this.params = params;
}
Expand Down

0 comments on commit ad23554

Please sign in to comment.