Skip to content

Commit 7892b58

Browse files
author
Hugh Cunningham
committed
fixes InvalidInput strings in round3
1 parent 1bd3a74 commit 7892b58

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/dkg/round3.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ where
145145

146146
#[cfg(not(feature = "std"))]
147147
return Err(IronfishFrostError::InvalidInput(
148-
"incorrect number of round 1 public packages",
148+
"incorrect number of round 1 public packages".to_string(),
149149
));
150150
}
151151

@@ -160,7 +160,7 @@ where
160160

161161
#[cfg(not(feature = "std"))]
162162
return Err(IronfishFrostError::InvalidInput(
163-
"incorrect number of round 2 public packages",
163+
"incorrect number of round 2 public packages".to_string(),
164164
));
165165
}
166166

@@ -196,7 +196,7 @@ where
196196

197197
#[cfg(not(feature = "std"))]
198198
return Err(IronfishFrostError::InvalidInput(
199-
"multiple round 1 public packages provided for an identity",
199+
"multiple round 1 public packages provided for an identity".to_string(),
200200
));
201201
}
202202

@@ -238,7 +238,7 @@ where
238238

239239
#[cfg(not(feature = "std"))]
240240
return Err(IronfishFrostError::InvalidInput(
241-
"round 2 public package does not have the correct recipient identity",
241+
"round 2 public package does not have the correct recipient identity".to_string(),
242242
));
243243
}
244244

0 commit comments

Comments
 (0)