Update auto-generated bindings
[ldk-java] / ts / structs / InvoicePayer.ts
index f76849f86dd56d0ecd2966710f1df931ec31963b..fcccc6c8ecaa68a9ac8bb0496812d5d0ef97f4bb 100644 (file)
@@ -45,7 +45,7 @@ import * as bindings from '../bindings' // TODO: figure out location
        }
 
        public void remove_cached_payment(Uint8Array payment_hash) {
-               bindings.InvoicePayer_remove_cached_payment(this.ptr, payment_hash);
+               bindings.InvoicePayer_remove_cached_payment(this.ptr, InternalUtils.check_arr_len(payment_hash, 32));
        }
 
        public EventHandler as_EventHandler() {