X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FNetAddress.ts;h=b1d54a1700e446965059ed470b85f0d5c62ace3d;hb=b6cc0960eaee5a5bbc7fde79a56152d6dcd649d8;hp=269741b9da8792956a732f5817984d9beffdcaf9;hpb=c45b91b3165ba0ff774d12d357188cae979574d3;p=ldk-java diff --git a/ts/structs/NetAddress.ts b/ts/structs/NetAddress.ts index 269741b9..b1d54a17 100644 --- a/ts/structs/NetAddress.ts +++ b/ts/structs/NetAddress.ts @@ -78,4 +78,10 @@ export class OnionV3 extends NetAddress { return ret; } + public static Result_NetAddressDecodeErrorZ constructor_read(Uint8Array ser) { + number ret = bindings.NetAddress_read(ser); + Result_NetAddressDecodeErrorZ ret_hu_conv = Result_NetAddressDecodeErrorZ.constr_from_ptr(ret); + return ret_hu_conv; + } + }