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