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 TypeScript Bindings
[ldk-java]
/
ts
/
structs
/
ChannelFeatures.mts
diff --git
a/ts/structs/ChannelFeatures.mts
b/ts/structs/ChannelFeatures.mts
index 914920391abdb9becae84038fad2873edb52f31a..32db32d931df07632678d13b2e20d0c37d71a7d1 100644
(file)
--- a/
ts/structs/ChannelFeatures.mts
+++ b/
ts/structs/ChannelFeatures.mts
@@
-279,7
+279,6
@@
import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScor
import CommonBase from './CommonBase.mjs';
import * as bindings from '../bindings.mjs'
import CommonBase from './CommonBase.mjs';
import * as bindings from '../bindings.mjs'
-import * as InternalUtils from '../InternalUtils.mjs'
export class ChannelFeatures extends CommonBase {
export class ChannelFeatures extends CommonBase {
@@
-326,12
+325,13
@@
export class ChannelFeatures extends CommonBase {
}
public write(): Uint8Array {
}
public write(): Uint8Array {
- const ret: Uint8Array = bindings.ChannelFeatures_write(this.ptr);
- return ret;
+ const ret: number = bindings.ChannelFeatures_write(this.ptr);
+ const ret_conv: Uint8Array = bindings.decodeUint8Array(ret);
+ return ret_conv;
}
public static constructor_read(ser: Uint8Array): Result_ChannelFeaturesDecodeErrorZ {
}
public static constructor_read(ser: Uint8Array): Result_ChannelFeaturesDecodeErrorZ {
- const ret: number = bindings.ChannelFeatures_read(
ser
);
+ const ret: number = bindings.ChannelFeatures_read(
bindings.encodeUint8Array(ser)
);
const ret_hu_conv: Result_ChannelFeaturesDecodeErrorZ = Result_ChannelFeaturesDecodeErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}
const ret_hu_conv: Result_ChannelFeaturesDecodeErrorZ = Result_ChannelFeaturesDecodeErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}