X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FInvoiceSignature.ts;h=f533e27dfe58b4f2814e5b80ae31ab4d6c15bc90;hb=b3302d48f4dec85e9d23d9b6324d33b7c8619770;hp=b85e2b42cea1afb2e70459fc0dbab55eab6c23ae;hpb=b0c50b891cbca28d3bd1d86276c132ff5221d8e4;p=ldk-java diff --git a/ts/structs/InvoiceSignature.ts b/ts/structs/InvoiceSignature.ts index b85e2b42..f533e27d 100644 --- a/ts/structs/InvoiceSignature.ts +++ b/ts/structs/InvoiceSignature.ts @@ -18,12 +18,6 @@ import * as bindings from '../bindings' // TODO: figure out location bindings.InvoiceSignature_free(this.ptr); } } - public boolean eq(InvoiceSignature b) { - boolean ret = bindings.InvoiceSignature_eq(this.ptr, b == null ? 0 : b.ptr & ~1); - this.ptrs_to.add(b); - return ret; - } - public InvoiceSignature clone() { number ret = bindings.InvoiceSignature_clone(this.ptr); const ret_hu_conv: InvoiceSignature = new InvoiceSignature(null, ret); @@ -31,4 +25,10 @@ import * as bindings from '../bindings' // TODO: figure out location return ret_hu_conv; } + public boolean eq(InvoiceSignature b) { + boolean ret = bindings.InvoiceSignature_eq(this.ptr, b == null ? 0 : b.ptr & ~1); + this.ptrs_to.add(b); + return ret; + } + }