[C#] Run tests against release library in determinism CI run
[ldk-java] / ts / structs / TxOut.ts
diff --git a/ts/structs/TxOut.ts b/ts/structs/TxOut.ts
deleted file mode 100644 (file)
index 09969ad..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-
-import CommonBase from './CommonBase';
-import * as bindings from '../bindings' // TODO: figure out location
-
-public class TxOut extends CommonBase{
-       /** The script_pubkey in this output */
-       public final byte[] script_pubkey;
-       /** The value, in satoshis, of this output */
-       public final long value;
-
-       TxOut(java.lang.Object _dummy, long ptr) {
-               super(ptr);
-               this.script_pubkey = bindings.TxOut_get_script_pubkey(ptr);
-               this.value = bindings.TxOut_get_value(ptr);
-       }
-       public TxOut(long value, byte[] script_pubkey) {
-               super(bindings.TxOut_new(script_pubkey, value));
-               this.script_pubkey = bindings.TxOut_get_script_pubkey(ptr);
-               this.value = bindings.TxOut_get_value(ptr);
-       }
-
-       @Override @SuppressWarnings("deprecation")
-       protected void finalize() throws Throwable {
-               super.finalize();
-               if (ptr != 0) { bindings.TxOut_free(ptr); }
-       }
-
-}
\ No newline at end of file