rebase
This commit is contained in:
parent
bbc246ba01
commit
3463fa3f9c
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@switchboard-xyz/switchboard-v2",
|
||||
"version": "0.0.119",
|
||||
"version": "0.0.120",
|
||||
"license": "MIT",
|
||||
"author": "mitch@switchboard.xyz",
|
||||
"description": "API wrapper for intergating with the Switchboardv2 program",
|
||||
|
|
|
@ -1491,19 +1491,11 @@ export class AggregatorAccount {
|
|||
queueAccount,
|
||||
this
|
||||
);
|
||||
// const escrow = await spl.getAssociatedTokenAddress(
|
||||
// params.tokenMint,
|
||||
// this.program.programId,
|
||||
// leaseAccount.publicKey
|
||||
// );
|
||||
// const escrow = await spl.getAssociatedTokenAddress(
|
||||
// params.tokenMint,
|
||||
// leaseAccount.publicKey,
|
||||
// true
|
||||
// );
|
||||
const escrow = (await leaseAccount.loadData()).escrow;
|
||||
console.log(`ESCROW: ${escrow.toBase58()}`);
|
||||
console.log(`ESCROW: ${escrow.toBase58()}`);
|
||||
const escrow = await spl.getAssociatedTokenAddress(
|
||||
params.tokenMint,
|
||||
leaseAccount.publicKey,
|
||||
true
|
||||
);
|
||||
const [feedPermissionAccount, feedPermissionBump] =
|
||||
PermissionAccount.fromSeed(
|
||||
this.program,
|
||||
|
|
Loading…
Reference in New Issue