projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make genbindings.sh only build one of java/wasm, test wasm in CI
[ldk-java]
/
ts
/
structs
/
Balance.ts
diff --git
a/ts/structs/Balance.ts
b/ts/structs/Balance.ts
index c672712b955dec05b04aae84ad806ce8094ee9ad..c76978e049500f651fafb6ee18f1a061d177504a 100644
(file)
--- a/
ts/structs/Balance.ts
+++ b/
ts/structs/Balance.ts
@@
-60,6
+60,11
@@
export class MaybeClaimableHTLCAwaitingTimeout extends Balance {
this.claimable_height = obj.claimable_height;
}
}
this.claimable_height = obj.claimable_height;
}
}
+ public number clone_ptr() {
+ number ret = bindings.Balance_clone_ptr(this.ptr);
+ return ret;
+ }
+
public Balance clone() {
number ret = bindings.Balance_clone(this.ptr);
Balance ret_hu_conv = Balance.constr_from_ptr(ret);
public Balance clone() {
number ret = bindings.Balance_clone(this.ptr);
Balance ret_hu_conv = Balance.constr_from_ptr(ret);
@@
-97,7
+102,6
@@
export class MaybeClaimableHTLCAwaitingTimeout extends Balance {
public boolean eq(Balance b) {
boolean ret = bindings.Balance_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
public boolean eq(Balance b) {
boolean ret = bindings.Balance_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
- this.ptrs_to.add(b);
return ret;
}
return ret;
}