Skip to content

Commit d83d70b

Browse files
author
Evgeny Kuzyakov
authored
Update README.md
Fixes: #102
1 parent cd22179 commit d83d70b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

staking-pool/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -370,10 +370,8 @@ pub fn update_staking_key(&mut self, stake_public_key: Base58PublicKey);
370370
pub fn update_reward_fee_fraction(&mut self, reward_fee_fraction: RewardFeeFraction);
371371

372372
/// 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;
377375

378376
/// Owner's method.
379377
/// Pauses pool staking.

0 commit comments

Comments
 (0)