diff --git a/api/src/events/processor.rs b/api/src/events/processor.rs index f4e70c9..9675499 100644 --- a/api/src/events/processor.rs +++ b/api/src/events/processor.rs @@ -71,8 +71,6 @@ pub enum ProcessorError { DbError(#[from] DbErr), #[error("Error sending message")] SendError(#[from] SendError), - #[error("Base58 decode error")] - Bs58DecodeError(#[from] bs58::decode::Error), } pub type Result = std::result::Result; diff --git a/api/src/events/solana.rs b/api/src/events/solana.rs index a759633..4721dc9 100644 --- a/api/src/events/solana.rs +++ b/api/src/events/solana.rs @@ -236,7 +236,7 @@ impl<'a> Solana<'a> { for ((sig1, sig2), sig3) in signatures { let key = key.clone(); let mut signatures = Vec::new(); - let content = bs58::decode(sig1.content).into_vec()?; + let content = hex::decode(sig1.content)?; let sig1_bytes = <[u8; 64]>::from_hex(sig1.signature.full_sig)?; signatures.push(bs58::encode(sig1_bytes).into_string());