Skip to content

Commit

Permalink
fixes InvalidInput strings in round3
Browse files Browse the repository at this point in the history
  • Loading branch information
hughy committed Sep 10, 2024
1 parent 1bd3a74 commit 7892b58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/dkg/round3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ where

#[cfg(not(feature = "std"))]
return Err(IronfishFrostError::InvalidInput(
"incorrect number of round 1 public packages",
"incorrect number of round 1 public packages".to_string(),
));
}

Expand All @@ -160,7 +160,7 @@ where

#[cfg(not(feature = "std"))]
return Err(IronfishFrostError::InvalidInput(
"incorrect number of round 2 public packages",
"incorrect number of round 2 public packages".to_string(),
));
}

Expand Down Expand Up @@ -196,7 +196,7 @@ where

#[cfg(not(feature = "std"))]
return Err(IronfishFrostError::InvalidInput(
"multiple round 1 public packages provided for an identity",
"multiple round 1 public packages provided for an identity".to_string(),
));
}

Expand Down Expand Up @@ -238,7 +238,7 @@ where

#[cfg(not(feature = "std"))]
return Err(IronfishFrostError::InvalidInput(
"round 2 public package does not have the correct recipient identity",
"round 2 public package does not have the correct recipient identity".to_string(),
));
}

Expand Down

0 comments on commit 7892b58

Please sign in to comment.