return ret_hu_conv;
}
+ /**
+ * Checks if two SignedRawInvoices contain equal inner contents.
+ */
+ public long hash() {
+ long ret = bindings.SignedRawInvoice_hash(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
/**
* Disassembles the `SignedRawInvoice` into its three parts:
* 1. raw invoice
/**
* The hash of the `RawInvoice` that was signed.
*/
- public byte[] hash() {
- byte[] ret = bindings.SignedRawInvoice_hash(this.ptr);
+ public byte[] signable_hash() {
+ byte[] ret = bindings.SignedRawInvoice_signable_hash(this.ptr);
Reference.reachabilityFence(this);
return ret;
}