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
/
RoutingFees.mts
diff --git
a/ts/structs/RoutingFees.mts
b/ts/structs/RoutingFees.mts
index beca35c763d57cf005f9f0cec2d8619e21650233..d51cc65e14406f9eaa6f5e9b2819c2994222b509 100644
(file)
--- a/
ts/structs/RoutingFees.mts
+++ b/
ts/structs/RoutingFees.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 RoutingFees extends CommonBase {
export class RoutingFees extends CommonBase {
@@
-331,18
+330,19
@@
export class RoutingFees extends CommonBase {
return ret_hu_conv;
}
return ret_hu_conv;
}
- public hash():
number
{
- const ret:
number
= bindings.RoutingFees_hash(this.ptr);
+ public hash():
bigint
{
+ const ret:
bigint
= bindings.RoutingFees_hash(this.ptr);
return ret;
}
public write(): Uint8Array {
return ret;
}
public write(): Uint8Array {
- const ret: Uint8Array = bindings.RoutingFees_write(this.ptr);
- return ret;
+ const ret: number = bindings.RoutingFees_write(this.ptr);
+ const ret_conv: Uint8Array = bindings.decodeUint8Array(ret);
+ return ret_conv;
}
public static constructor_read(ser: Uint8Array): Result_RoutingFeesDecodeErrorZ {
}
public static constructor_read(ser: Uint8Array): Result_RoutingFeesDecodeErrorZ {
- const ret: number = bindings.RoutingFees_read(
ser
);
+ const ret: number = bindings.RoutingFees_read(
bindings.encodeUint8Array(ser)
);
const ret_hu_conv: Result_RoutingFeesDecodeErrorZ = Result_RoutingFeesDecodeErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}
const ret_hu_conv: Result_RoutingFeesDecodeErrorZ = Result_RoutingFeesDecodeErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}