diff --git a/libraries/ts/src/sbv2.ts b/libraries/ts/src/sbv2.ts index 52d44e1..9fec7b0 100644 --- a/libraries/ts/src/sbv2.ts +++ b/libraries/ts/src/sbv2.ts @@ -3455,7 +3455,7 @@ export class OracleAccount { const oracle = await this.loadData(); const escrow = await spl.getAccount( this.program.provider.connection, - oracle.escrow + oracle.tokenAccount ); return Number(escrow.amount); }