mirror of
https://github.com/mimblewimble/grin-wallet.git
synced 2025-02-01 17:01:10 +03:00
[Doc] Updated comment to better reflect behavior of
blank_with_kernel_features #564
This commit is contained in:
parent
08bd462a99
commit
a896b19575
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ impl Slate {
|
||||||
/// Create a new slate with custom kernel_feature and lock height
|
/// 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)
|
/// 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
|
/// 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(
|
pub fn blank_with_kernel_features(
|
||||||
num_participants: u8,
|
num_participants: u8,
|
||||||
is_invoice: bool,
|
is_invoice: bool,
|
||||||
|
|
Loading…
Reference in a new issue