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]
/
ts
/
structs
/
Invoice.ts
diff --git
a/ts/structs/Invoice.ts
b/ts/structs/Invoice.ts
index 5b9bfd41ff13569b0ffba2aa49fa1a2369448abe..d5fa849d28b9e38b1b2dad04eb87ba3ae6deb90c 100644
(file)
--- a/
ts/structs/Invoice.ts
+++ b/
ts/structs/Invoice.ts
@@
-87,6
+87,11
@@
import * as bindings from '../bindings' // TODO: figure out location
return ret;
}
return ret;
}
+ public boolean is_expired() {
+ boolean ret = bindings.Invoice_is_expired(this.ptr);
+ return ret;
+ }
+
public number min_final_cltv_expiry() {
number ret = bindings.Invoice_min_final_cltv_expiry(this.ptr);
return ret;
public number min_final_cltv_expiry() {
number ret = bindings.Invoice_min_final_cltv_expiry(this.ptr);
return ret;
@@
-121,8
+126,8
@@
import * as bindings from '../bindings' // TODO: figure out location
return ret;
}
return ret;
}
- public Option_u64Z amount_
pico_btc
() {
- number ret = bindings.Invoice_amount_
pico_btc
(this.ptr);
+ public Option_u64Z amount_
milli_satoshis
() {
+ number ret = bindings.Invoice_amount_
milli_satoshis
(this.ptr);
Option_u64Z ret_hu_conv = Option_u64Z.constr_from_ptr(ret);
ret_hu_conv.ptrs_to.add(this);
return ret_hu_conv;
Option_u64Z ret_hu_conv = Option_u64Z.constr_from_ptr(ret);
ret_hu_conv.ptrs_to.add(this);
return ret_hu_conv;