Skip to content

Commit 91bbd6a

Browse files
committed
fix build
1 parent 68f4fa3 commit 91bbd6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chain-libs/chain-crypto/src/ec/p256k1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ impl Scalar {
229229
rng.fill_bytes(&mut r[..]);
230230

231231
if let Some(s) = IScalar::from_bytes(&r) {
232-
break (Scalar(s));
232+
break Scalar(s);
233233
}
234234
}
235235
}

0 commit comments

Comments
 (0)