Skip to content

Commit

Permalink
chore: update valid since data type of cell input
Browse files Browse the repository at this point in the history
  • Loading branch information
duanyytop committed May 5, 2019
1 parent f9e8538 commit 7d23d3d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/src/main/java/org/nervos/ckb/methods/type/CellInput.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ public class CellInput {
public List<String> args;

@JsonProperty("valid_since")
public long validSince;
public String validSince;

public CellInput() {}

public CellInput(PreviousOutput previousOutput, List<String> args) {
public CellInput(PreviousOutput previousOutput, List<String> args, String validSince) {
this.previousOutput = previousOutput;
this.args = args;
this.validSince = validSince;
}

public static class PreviousOutput {
Expand Down

0 comments on commit 7d23d3d

Please sign in to comment.