chore: rename feature flag to native-secp256k1

This commit is contained in:
rvcas
2023-02-06 14:59:58 -05:00
committed by Lucas
parent 67a2674d27
commit 08e8347317
3 changed files with 7 additions and 7 deletions

View File

@@ -48,10 +48,10 @@ pub enum Error {
DeserialisationError(String, Value),
#[error("Integer overflow")]
OverflowError,
#[cfg(not(feature = "wasm"))]
#[cfg(not(feature = "native-secp256k1"))]
#[error(transparent)]
Secp256k1(#[from] secp256k1::Error),
#[cfg(feature = "wasm")]
#[cfg(feature = "native-secp256k1")]
#[error(transparent)]
Secp256k1(#[from] k256::ecdsa::Error),
}