From a896b195753a4ff937eb86aa3a1a6a7b8f5dfec9 Mon Sep 17 00:00:00 2001 From: Jakob Date: Sat, 27 Mar 2021 11:12:22 +0100 Subject: [PATCH] [Doc] Updated comment to better reflect behavior of blank_with_kernel_features #564 --- libwallet/src/slate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libwallet/src/slate.rs b/libwallet/src/slate.rs index cb3b0b9a..95a809c6 100644 --- a/libwallet/src/slate.rs +++ b/libwallet/src/slate.rs @@ -258,7 +258,7 @@ impl Slate { /// Create a new slate with custom kernel_feature and lock height /// If a lock_height is set kernel_features will have to be either HeightLocked (2) or NoRecentDuplicate (3) /// otherwise the value passed as lock_height will be ignored and a plain kernel will be created - /// Invalid arguments for kernel_features (>3) will be set to 0 (Plain) + /// Invalid arguments for kernel_features (>3) are not allowed and will make the function panic pub fn blank_with_kernel_features( num_participants: u8, is_invoice: bool,