Skip to content

Commit 4ae30bf

Browse files
fix(staking): opt-out bug (#2040)
1 parent dd4c76b commit 4ae30bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/staking/src/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,5 +427,5 @@ export const optPublisherOut = async (
427427
stakeAccount: PublicKey,
428428
publisherKey: PublicKey,
429429
): Promise<void> => {
430-
await client.removePublisherStakeAccount(stakeAccount, publisherKey);
430+
await client.removePublisherStakeAccount(publisherKey, stakeAccount);
431431
};

0 commit comments

Comments
 (0)