[TS] Update auto-generated bindings with changes + upstream changes
[ldk-java] / ts / structs / UnsignedChannelUpdate.mts
index 116e1bf6c803ffb3b8dce2aae985f09e7cad9f66..180a95a298c25f2470bb976991ada3755613c919 100644 (file)
@@ -515,6 +515,19 @@ export class UnsignedChannelUpdate extends CommonBase {
                bindings.UnsignedChannelUpdate_set_fee_proportional_millionths(this.ptr, val);
        }
 
+       /**
+        * Excess data which was signed as a part of the message which we do not (yet) understand how
+        * to decode. This is stored to ensure forward-compatibility as new fields are added to the
+        * lightning gossip
+        * 
+        * Returns a copy of the field.
+        */
+       public get_excess_data(): Uint8Array {
+               const ret: number = bindings.UnsignedChannelUpdate_get_excess_data(this.ptr);
+               const ret_conv: Uint8Array = bindings.decodeUint8Array(ret);
+               return ret_conv;
+       }
+
        /**
         * Excess data which was signed as a part of the message which we do not (yet) understand how
         * to decode. This is stored to ensure forward-compatibility as new fields are added to the