* The payment hash, the pre-image of which controls HTLC redemption
*/
public void set_payment_hash(byte[] val) {
* The payment hash, the pre-image of which controls HTLC redemption
*/
public void set_payment_hash(byte[] val) {
/**
* Creates a copy of the UpdateAddHTLC
*/
public UpdateAddHTLC clone() {
long ret = bindings.UpdateAddHTLC_clone(this.ptr);
/**
* Creates a copy of the UpdateAddHTLC
*/
public UpdateAddHTLC clone() {
long ret = bindings.UpdateAddHTLC_clone(this.ptr);
- UpdateAddHTLC ret_hu_conv = new UpdateAddHTLC(null, ret);
+ if (ret >= 0 && ret <= 4096) { return null; }
+ UpdateAddHTLC ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new UpdateAddHTLC(null, ret); }
*/
public static Result_UpdateAddHTLCDecodeErrorZ read(byte[] ser) {
long ret = bindings.UpdateAddHTLC_read(ser);
*/
public static Result_UpdateAddHTLCDecodeErrorZ read(byte[] ser) {
long ret = bindings.UpdateAddHTLC_read(ser);