Move queueAccount.mint to a synchronous getter

This commit is contained in:
Jackson Jessup 2022-12-01 10:56:02 -05:00
parent 232d630353
commit acce0f28fe
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ export class QueueAccount extends Account<types.OracleQueueAccountData> {
/**
* Get the spl Mint associated with this {@linkcode QueueAccount}.
*/
public async loadMint(): Promise<spl.Mint> {
public get mint(): spl.Mint {
return this.program.mint.mint;
}