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
/
DataLossProtect.ts
diff --git
a/ts/structs/DataLossProtect.ts
b/ts/structs/DataLossProtect.ts
index a08c831a6c1edbbf3459496b74900005c24721ad..4f9bd46a084424fc1d1f784d542147c342075b4c 100644
(file)
--- a/
ts/structs/DataLossProtect.ts
+++ b/
ts/structs/DataLossProtect.ts
@@
-18,13
+18,6
@@
import * as bindings from '../bindings' // TODO: figure out location
bindings.DataLossProtect_free(this.ptr);
}
}
bindings.DataLossProtect_free(this.ptr);
}
}
- public DataLossProtect clone() {
- number ret = bindings.DataLossProtect_clone(this.ptr);
- const ret_hu_conv: DataLossProtect = new DataLossProtect(null, ret);
- ret_hu_conv.ptrs_to.add(this);
- return ret_hu_conv;
- }
-
public Uint8Array get_your_last_per_commitment_secret() {
Uint8Array ret = bindings.DataLossProtect_get_your_last_per_commitment_secret(this.ptr);
return ret;
public Uint8Array get_your_last_per_commitment_secret() {
Uint8Array ret = bindings.DataLossProtect_get_your_last_per_commitment_secret(this.ptr);
return ret;
@@
-50,4
+43,11
@@
import * as bindings from '../bindings' // TODO: figure out location
return ret_hu_conv;
}
return ret_hu_conv;
}
+ public DataLossProtect clone() {
+ number ret = bindings.DataLossProtect_clone(this.ptr);
+ const ret_hu_conv: DataLossProtect = new DataLossProtect(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
}
}