/**
* 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;
}