* Two objects with NULL inner values will be considered "equal" here.
*/
public bool eq(org.ldk.structs.RevocationKey b) {
* Two objects with NULL inner values will be considered "equal" here.
*/
public bool eq(org.ldk.structs.RevocationKey b) {
* [`chan_utils::derive_private_revocation_key`]: crate::ln::chan_utils::derive_private_revocation_key
*/
public static RevocationKey from_basepoint(org.ldk.structs.RevocationBasepoint countersignatory_basepoint, byte[] per_commitment_point) {
* [`chan_utils::derive_private_revocation_key`]: crate::ln::chan_utils::derive_private_revocation_key
*/
public static RevocationKey from_basepoint(org.ldk.structs.RevocationBasepoint countersignatory_basepoint, byte[] per_commitment_point) {
- long ret = bindings.RevocationKey_from_basepoint(countersignatory_basepoint == null ? 0 : countersignatory_basepoint.ptr, InternalUtils.encodeUint8Array(InternalUtils.check_arr_len(per_commitment_point, 33)));
+ long ret = bindings.RevocationKey_from_basepoint(countersignatory_basepoint.ptr, InternalUtils.encodeUint8Array(InternalUtils.check_arr_len(per_commitment_point, 33)));
GC.KeepAlive(countersignatory_basepoint);
GC.KeepAlive(per_commitment_point);
if (ret >= 0 && ret <= 4096) { return null; }
GC.KeepAlive(countersignatory_basepoint);
GC.KeepAlive(per_commitment_point);
if (ret >= 0 && ret <= 4096) { return null; }