X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FRawDataPart.java;h=d7885133c9659d7021b45d4840ab1c6337cbfa77;hb=32973ea2749f8efd05b543dd774763513013b38b;hp=b7d7de1613d6fe876f89b5ea806e248c7dde5026;hpb=8aa8a96fc6d8fcdd3fbb419b4b4c12482af14938;p=ldk-java diff --git a/src/main/java/org/ldk/structs/RawDataPart.java b/src/main/java/org/ldk/structs/RawDataPart.java index b7d7de16..d7885133 100644 --- a/src/main/java/org/ldk/structs/RawDataPart.java +++ b/src/main/java/org/ldk/structs/RawDataPart.java @@ -9,7 +9,7 @@ import javax.annotation.Nullable; /** - * Data of the `RawInvoice` that is encoded in the data part + * Data of the [`RawBolt11Invoice`] that is encoded in the data part */ @SuppressWarnings("unchecked") // We correctly assign various generic arrays public class RawDataPart extends CommonBase { @@ -78,7 +78,7 @@ public class RawDataPart extends CommonBase { } /** - * Checks if two RawDataParts contain equal inner contents. + * Generates a non-cryptographic 64-bit hash of the RawDataPart. */ public long hash() { long ret = bindings.RawDataPart_hash(this.ptr);