make decodePriceFromOracleAi fn public so websockets can update price
This commit is contained in:
parent
2cad5b69aa
commit
26d7ec505c
|
@ -381,7 +381,7 @@ export class Group {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private async decodePriceFromOracleAi(
|
public async decodePriceFromOracleAi(
|
||||||
coder: BorshAccountsCoder<string>,
|
coder: BorshAccountsCoder<string>,
|
||||||
oracle: PublicKey,
|
oracle: PublicKey,
|
||||||
ai: AccountInfo<Buffer>,
|
ai: AccountInfo<Buffer>,
|
||||||
|
|
Loading…
Reference in New Issue