Set default pledge cap to 10% (#1739)

* Set default pledge cap to 10%

* fix clippy beta lints
This commit is contained in:
Drazen Urch
2022-11-07 14:40:52 +01:00
committed by Jon Häggblad
parent 9b14e00653
commit 65a9320d35
@@ -85,7 +85,7 @@ impl FromStr for PledgeCap {
impl Default for PledgeCap {
fn default() -> Self {
PledgeCap::Absolute(Uint128::from(100_000_000_000u128))
PledgeCap::Percent(Percent::from_percentage_value(10).expect("This can never fail!"))
}
}