X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FSignedRawBolt11Invoice.java;fp=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FSignedRawBolt11Invoice.java;h=4859f660d4ba479c3041116475e1688c9d77a386;hb=07d5d868dfe064aadb28a7f7ca6002c16be9723d;hp=5121258d302b6cb610787b70d94348f6e962ac97;hpb=32973ea2749f8efd05b543dd774763513013b38b;p=ldk-java diff --git a/src/main/java/org/ldk/structs/SignedRawBolt11Invoice.java b/src/main/java/org/ldk/structs/SignedRawBolt11Invoice.java index 5121258d..4859f660 100644 --- a/src/main/java/org/ldk/structs/SignedRawBolt11Invoice.java +++ b/src/main/java/org/ldk/structs/SignedRawBolt11Invoice.java @@ -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; }