Skip to content

Commit

Permalink
fix thiserror visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
samkim-crypto committed Nov 15, 2023
1 parent dcaa33b commit b422fb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zk-token-sdk/src/instruction/errors.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#[cfg(not(target_os = "solana"))]
use thiserror::Error;

#[derive(Error, Clone, Debug, Eq, PartialEq)]
#[cfg(not(target_os = "solana"))]
pub enum InstructionError {
#[error("decryption error")]
Decryption,
Expand Down

0 comments on commit b422fb3

Please sign in to comment.