Skip to content

Commit

Permalink
missed dev fee forced
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev committed Nov 22, 2023
1 parent 43f4c20 commit 1887d5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,12 @@ fn parse_devfund_percent(s: &str) -> Result<u16, &'static str> {
if prefix >= 100 || postfix >= 100 {
return Err(err);
}
/*
if prefix < 2 {
// Force at least 2 percent
return Ok(200u16);
}
*/
// DevFund is out of 10_000
Ok(prefix * 100 + postfix)
}
Expand Down

0 comments on commit 1887d5a

Please sign in to comment.