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
/
CounterpartyChannelTransactionParameters.mts
diff --git
a/ts/structs/CounterpartyChannelTransactionParameters.mts
b/ts/structs/CounterpartyChannelTransactionParameters.mts
index 2011da809c02b92cae44425d541db0b7c8c5e0cc..56bf5f33a99bdbb448c9ad03deee355a4ae5dc1e 100644
(file)
--- a/
ts/structs/CounterpartyChannelTransactionParameters.mts
+++ b/
ts/structs/CounterpartyChannelTransactionParameters.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 CounterpartyChannelTransactionParameters extends CommonBase {
export class CounterpartyChannelTransactionParameters extends CommonBase {
@@
-328,12
+327,13
@@
export class CounterpartyChannelTransactionParameters extends CommonBase {
}
public write(): Uint8Array {
}
public write(): Uint8Array {
- const ret: Uint8Array = bindings.CounterpartyChannelTransactionParameters_write(this.ptr);
- return ret;
+ const ret: number = bindings.CounterpartyChannelTransactionParameters_write(this.ptr);
+ const ret_conv: Uint8Array = bindings.decodeUint8Array(ret);
+ return ret_conv;
}
public static constructor_read(ser: Uint8Array): Result_CounterpartyChannelTransactionParametersDecodeErrorZ {
}
public static constructor_read(ser: Uint8Array): Result_CounterpartyChannelTransactionParametersDecodeErrorZ {
- const ret: number = bindings.CounterpartyChannelTransactionParameters_read(
ser
);
+ const ret: number = bindings.CounterpartyChannelTransactionParameters_read(
bindings.encodeUint8Array(ser)
);
const ret_hu_conv: Result_CounterpartyChannelTransactionParametersDecodeErrorZ = Result_CounterpartyChannelTransactionParametersDecodeErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}
const ret_hu_conv: Result_CounterpartyChannelTransactionParametersDecodeErrorZ = Result_CounterpartyChannelTransactionParametersDecodeErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}