js-sdk: uprev to 2.3.3
- fix: SwitchboardWallet.fundInstruction passes the correct payer
This commit is contained in:
parent
4b27dbaacc
commit
fec5af232e
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@switchboard-xyz/solana.js",
|
"name": "@switchboard-xyz/solana.js",
|
||||||
"version": "2.3.2",
|
"version": "2.3.3",
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"description": "A Typescript client to interact with Switchboard on Solana.",
|
"description": "A Typescript client to interact with Switchboard on Solana.",
|
||||||
|
|
|
@ -318,7 +318,7 @@ export class SwitchboardWallet extends Account<SwitchboardWalletWithEscrow> {
|
||||||
);
|
);
|
||||||
|
|
||||||
return new TransactionObject(
|
return new TransactionObject(
|
||||||
this.program.wallet.payer.publicKey,
|
payer,
|
||||||
[ixn],
|
[ixn],
|
||||||
params.funderAuthority ? [params.funderAuthority] : [],
|
params.funderAuthority ? [params.funderAuthority] : [],
|
||||||
options
|
options
|
||||||
|
|
Loading…
Reference in New Issue