diff --git a/apps/staking/src/api.ts b/apps/staking/src/api.ts index 9759488b20..d0777a56d7 100644 --- a/apps/staking/src/api.ts +++ b/apps/staking/src/api.ts @@ -427,5 +427,5 @@ export const optPublisherOut = async ( stakeAccount: PublicKey, publisherKey: PublicKey, ): Promise => { - await client.removePublisherStakeAccount(stakeAccount, publisherKey); + await client.removePublisherStakeAccount(publisherKey, stakeAccount); };