mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-05-19 15:39:28 +00:00
fix(oracle): align price account decode error
This commit is contained in:
parent
713d26ec36
commit
f012e66776
@ -27,7 +27,7 @@ pub struct OraclePriceAccount {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl TryFrom<&Data> for 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> {
|
fn try_from(data: &Data) -> Result<Self, Self::Error> {
|
||||||
Self::try_from_slice(data.as_ref())
|
Self::try_from_slice(data.as_ref())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user