Update auto-generated bindings to 0.0.101
[ldk-java] / ts / structs / PayeePubKey.ts
index 0fb9f5974cf151f329e1fbe390a2734bf2a9bdcc..63b24e2d96cffc7188c2deae62e2e7bd3b809687 100644 (file)
@@ -18,12 +18,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                         bindings.PayeePubKey_free(this.ptr);
                     }
                 }
-       public boolean eq(PayeePubKey b) {
-               boolean ret = bindings.PayeePubKey_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
-               this.ptrs_to.add(b);
-               return ret;
-       }
-
        public PayeePubKey clone() {
                number ret = bindings.PayeePubKey_clone(this.ptr);
                const ret_hu_conv: PayeePubKey = new PayeePubKey(null, ret);
@@ -31,4 +25,15 @@ import * as bindings from '../bindings' // TODO: figure out location
                return ret_hu_conv;
        }
 
+       public number hash() {
+               number ret = bindings.PayeePubKey_hash(this.ptr);
+               return ret;
+       }
+
+       public boolean eq(PayeePubKey b) {
+               boolean ret = bindings.PayeePubKey_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
+               this.ptrs_to.add(b);
+               return ret;
+       }
+
 }