projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update auto-generated bindings to 0.0.103
[ldk-java]
/
src
/
main
/
java
/
org
/
ldk
/
structs
/
OutPoint.java
diff --git
a/src/main/java/org/ldk/structs/OutPoint.java
b/src/main/java/org/ldk/structs/OutPoint.java
index 0fc805c814c1c82aa9bdad9e81ab423e6a4c6854..edb136126a7d606f93cd3f0b8e3e3e83c589d591 100644
(file)
--- a/
src/main/java/org/ldk/structs/OutPoint.java
+++ b/
src/main/java/org/ldk/structs/OutPoint.java
@@
-57,8
+57,8
@@
public class OutPoint extends CommonBase {
*/
public static OutPoint of(byte[] txid_arg, short index_arg) {
long ret = bindings.OutPoint_new(txid_arg, index_arg);
*/
public static OutPoint of(byte[] txid_arg, short index_arg) {
long ret = bindings.OutPoint_new(txid_arg, index_arg);
- if (ret >= 0 && ret <
1024
) { return null; }
- OutPoint ret_hu_conv = n
ew OutPoint(null, ret);
+ if (ret >= 0 && ret <
= 4096
) { return null; }
+ OutPoint ret_hu_conv = n
ull; if (ret < 0 || ret > 4096) { ret_hu_conv = new OutPoint(null, ret); }
ret_hu_conv.ptrs_to.add(ret_hu_conv);
return ret_hu_conv;
}
ret_hu_conv.ptrs_to.add(ret_hu_conv);
return ret_hu_conv;
}
@@
-68,8
+68,8
@@
public class OutPoint extends CommonBase {
*/
public OutPoint clone() {
long ret = bindings.OutPoint_clone(this.ptr);
*/
public OutPoint clone() {
long ret = bindings.OutPoint_clone(this.ptr);
- if (ret >= 0 && ret <
1024
) { return null; }
- OutPoint ret_hu_conv = n
ew OutPoint(null, ret);
+ if (ret >= 0 && ret <
= 4096
) { return null; }
+ OutPoint ret_hu_conv = n
ull; if (ret < 0 || ret > 4096) { ret_hu_conv = new OutPoint(null, ret); }
ret_hu_conv.ptrs_to.add(this);
return ret_hu_conv;
}
ret_hu_conv.ptrs_to.add(this);
return ret_hu_conv;
}
@@
-114,7
+114,7
@@
public class OutPoint extends CommonBase {
*/
public static Result_OutPointDecodeErrorZ read(byte[] ser) {
long ret = bindings.OutPoint_read(ser);
*/
public static Result_OutPointDecodeErrorZ read(byte[] ser) {
long ret = bindings.OutPoint_read(ser);
- if (ret >= 0 && ret <
1024
) { return null; }
+ if (ret >= 0 && ret <
= 4096
) { return null; }
Result_OutPointDecodeErrorZ ret_hu_conv = Result_OutPointDecodeErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}
Result_OutPointDecodeErrorZ ret_hu_conv = Result_OutPointDecodeErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}