projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2 from TheBlueMatt/main
[ldk-java]
/
src
/
main
/
java
/
org
/
ldk
/
structs
/
HTLCUpdate.java
diff --git
a/src/main/java/org/ldk/structs/HTLCUpdate.java
b/src/main/java/org/ldk/structs/HTLCUpdate.java
index f860f5dd8d464efbb8c23af4ee182f3a0d4d12ae..57f94ec2202165b714d91a7712ce81070e476f1c 100644
(file)
--- a/
src/main/java/org/ldk/structs/HTLCUpdate.java
+++ b/
src/main/java/org/ldk/structs/HTLCUpdate.java
@@
-26,10
+26,9
@@
public class HTLCUpdate extends CommonBase {
return ret;
}
return ret;
}
- public static
HTLCUpdate
constructor_read(byte[] ser) {
+ public static
Result_HTLCUpdateDecodeErrorZ
constructor_read(byte[] ser) {
long ret = bindings.HTLCUpdate_read(ser);
long ret = bindings.HTLCUpdate_read(ser);
- HTLCUpdate ret_hu_conv = new HTLCUpdate(null, ret);
- ret_hu_conv.ptrs_to.add(ret_hu_conv);
+ Result_HTLCUpdateDecodeErrorZ ret_hu_conv = Result_HTLCUpdateDecodeErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}
return ret_hu_conv;
}