[Java] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / src / main / java / org / ldk / structs / SignedRawBolt11Invoice.java
index 5121258d302b6cb610787b70d94348f6e962ac97..6bc7ce238b0363efe668e5e3e6182c8b0f0ee054 100644 (file)
@@ -30,7 +30,7 @@ public class SignedRawBolt11Invoice extends CommonBase {
         * Two objects with NULL inner values will be considered "equal" here.
         */
        public boolean eq(org.ldk.structs.SignedRawBolt11Invoice b) {
-               boolean ret = bindings.SignedRawBolt11Invoice_eq(this.ptr, b == null ? 0 : b.ptr);
+               boolean ret = bindings.SignedRawBolt11Invoice_eq(this.ptr, b.ptr);
                Reference.reachabilityFence(this);
                Reference.reachabilityFence(b);
                if (this != null) { this.ptrs_to.add(b); };
@@ -123,11 +123,11 @@ public class SignedRawBolt11Invoice extends CommonBase {
        /**
         * Recovers the public key used for signing the invoice from the recoverable signature.
         */
-       public Result_PayeePubKeyErrorZ recover_payee_pub_key() {
+       public Result_PayeePubKeySecp256k1ErrorZ recover_payee_pub_key() {
                long ret = bindings.SignedRawBolt11Invoice_recover_payee_pub_key(this.ptr);
                Reference.reachabilityFence(this);
                if (ret >= 0 && ret <= 4096) { return null; }
-               Result_PayeePubKeyErrorZ ret_hu_conv = Result_PayeePubKeyErrorZ.constr_from_ptr(ret);
+               Result_PayeePubKeySecp256k1ErrorZ ret_hu_conv = Result_PayeePubKeySecp256k1ErrorZ.constr_from_ptr(ret);
                return ret_hu_conv;
        }