fix(oracle): align price account decode error

This commit is contained in:
Ricardo Guilherme Schmidt 2026-05-14 02:33:10 -03:00
parent 8e3c15d4e4
commit 40348d5acd
No known key found for this signature in database
GPG Key ID: 1396EA17DE132FFE

View File

@ -27,7 +27,7 @@ pub struct OraclePriceAccount {
}
impl TryFrom<&Data> for OraclePriceAccount {
type Error = borsh::io::Error;
type Error = std::io::Error;
fn try_from(data: &Data) -> Result<Self, Self::Error> {
Self::try_from_slice(data.as_ref())