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]
/
ts
/
structs
/
HTLCUpdate.ts
diff --git
a/ts/structs/HTLCUpdate.ts
b/ts/structs/HTLCUpdate.ts
index 075dc2db1e94d13708282a58907ef2a7883245a0..3eaef5532f1a26052442c082f54cff93ddcd4ca3 100644
(file)
--- a/
ts/structs/HTLCUpdate.ts
+++ b/
ts/structs/HTLCUpdate.ts
@@
-30,10
+30,9
@@
import * as bindings from '../bindings' // TODO: figure out location
return ret;
}
return ret;
}
- public static
HTLCUpdate
constructor_read(Uint8Array ser) {
+ public static
Result_HTLCUpdateDecodeErrorZ
constructor_read(Uint8Array ser) {
number ret = bindings.HTLCUpdate_read(ser);
number ret = bindings.HTLCUpdate_read(ser);
- const ret_hu_conv: HTLCUpdate = 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;
}