File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -370,10 +370,8 @@ pub fn update_staking_key(&mut self, stake_public_key: Base58PublicKey);
370
370
pub fn update_reward_fee_fraction (& mut self , reward_fee_fraction : RewardFeeFraction );
371
371
372
372
/// Owner's method.
373
- /// Vote on a given proposal on a given voting contract account ID on behalf of the pool.
374
- /// NOTE: This method allows the owner to call `vote(proposal_id: U64)` on any contract on
375
- /// behalf of this staking pool.
376
- pub fn vote (& mut self , voting_account_id : AccountId , proposal_id : ProposalId ) -> Promise ;
373
+ /// Calls `vote(is_vote)` on the given voting contract account ID on behalf of the pool.
374
+ pub fn vote (& mut self , voting_account_id : AccountId , is_vote : bool ) -> Promise ;
377
375
378
376
/// Owner's method.
379
377
/// Pauses pool staking.
You can’t perform that action at this time.
0 commit comments