X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FDirectedChannelTransactionParameters.mts;h=105e026dbd0fff0e36ec4ebd6149590ca13ad6b9;hb=f6d7282fcf6324519ea1fe4b584c8d02c95acd9e;hp=1e216df1e9dfad013406ed9a4fd73992846df3ea;hpb=7cbcc5ef17b8036b2e99980e227c7ca0d44dba7f;p=ldk-java diff --git a/ts/structs/DirectedChannelTransactionParameters.mts b/ts/structs/DirectedChannelTransactionParameters.mts index 1e216df1..105e026d 100644 --- a/ts/structs/DirectedChannelTransactionParameters.mts +++ b/ts/structs/DirectedChannelTransactionParameters.mts @@ -365,7 +365,7 @@ import * as bindings from '../bindings.mjs' */ export class DirectedChannelTransactionParameters extends CommonBase { /* @internal */ - public constructor(_dummy: object, ptr: number) { + public constructor(_dummy: object, ptr: bigint) { super(ptr, bindings.DirectedChannelTransactionParameters_free); } @@ -373,7 +373,7 @@ export class DirectedChannelTransactionParameters extends CommonBase { * Get the channel pubkeys for the broadcaster */ public broadcaster_pubkeys(): ChannelPublicKeys { - const ret: number = bindings.DirectedChannelTransactionParameters_broadcaster_pubkeys(this.ptr); + const ret: bigint = bindings.DirectedChannelTransactionParameters_broadcaster_pubkeys(this.ptr); const ret_hu_conv: ChannelPublicKeys = new ChannelPublicKeys(null, ret); CommonBase.add_ref_from(ret_hu_conv, this); return ret_hu_conv; @@ -383,7 +383,7 @@ export class DirectedChannelTransactionParameters extends CommonBase { * Get the channel pubkeys for the countersignatory */ public countersignatory_pubkeys(): ChannelPublicKeys { - const ret: number = bindings.DirectedChannelTransactionParameters_countersignatory_pubkeys(this.ptr); + const ret: bigint = bindings.DirectedChannelTransactionParameters_countersignatory_pubkeys(this.ptr); const ret_hu_conv: ChannelPublicKeys = new ChannelPublicKeys(null, ret); CommonBase.add_ref_from(ret_hu_conv, this); return ret_hu_conv; @@ -413,7 +413,7 @@ export class DirectedChannelTransactionParameters extends CommonBase { * The funding outpoint */ public funding_outpoint(): OutPoint { - const ret: number = bindings.DirectedChannelTransactionParameters_funding_outpoint(this.ptr); + const ret: bigint = bindings.DirectedChannelTransactionParameters_funding_outpoint(this.ptr); const ret_hu_conv: OutPoint = new OutPoint(null, ret); CommonBase.add_ref_from(ret_hu_conv, this); return ret_hu_conv;