Skip to content

Commit

Permalink
POC
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Aug 9, 2023
1 parent 72d2642 commit 2e674f6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/org/stellar/sdk/scval/Scv.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
/** Abstract class for all {@link Scv} types. */
public abstract class Scv {

/**
* Create {@link Scv} with the type of {@link SCValType#SCV_VOID}.
*/
public static SCVal booleanSCVal(boolean value) {
return new ScvBoolean(value).toSCVal();
}

/**
* Convert this object to {@link SCVal}.
*
Expand Down

0 comments on commit 2e674f6

Please sign in to comment.