Skip to content

Commit b8123d5

Browse files
authored
Merge pull request #891 from tnull/2026-04-fix-bitcoin-units-depreaction-warning
Switch to expose `FeeRate::from_sat_per_vb_u32` in bindings
2 parents 297ae84 + bb45eac commit b8123d5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bindings/ldk_node.udl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ typedef interface OnchainPayment;
156156
interface FeeRate {
157157
[Name=from_sat_per_kwu]
158158
constructor(u64 sat_kwu);
159-
[Name=from_sat_per_vb_unchecked]
160-
constructor(u64 sat_vb);
159+
[Name=from_sat_per_vb_u32]
160+
constructor(u32 sat_vb);
161161
u64 to_sat_per_kwu();
162162
u64 to_sat_per_vb_floor();
163163
u64 to_sat_per_vb_ceil();

0 commit comments

Comments
 (0)