Skip to content

Commit d2e0610

Browse files
committed
Fix typos
1 parent 2485794 commit d2e0610

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

farm/trait/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ pub trait Farm {
8686

8787
/// Sets the parameters of the farm (`start`, `end`, `rewards`).
8888
///
89-
/// NOTE: Implementation should make sure that it's callabled only by a permission account (owner of the farm).
89+
/// NOTE: Implementation should make sure that it's callable only by an authorized account (owner of the farm).
9090
#[ink(message)]
9191
fn owner_start_new_farm(
9292
&mut self,
@@ -99,11 +99,11 @@ pub trait Farm {
9999
/// Generic method that allows for stopping (a running) farm.
100100
/// Details are implementation-dependent (Common AMM will set the farm's `end` timestamp to current blocktime).
101101
///
102-
/// NOTE: Implementation should make sure that it's callabled only by a permission account (owner of the farm).
102+
/// NOTE: Implementation should make sure that it's callable only by an authorized account (owner of the farm).
103103
#[ink(message)]
104104
fn owner_stop_farm(&mut self) -> Result<(), FarmError>;
105105

106-
/// NOTE: Implementation should make sure that it's callabled only by a permission account (owner of the farm).
106+
/// NOTE: Implementation should make sure that it's callable only by an authorized account (owner of the farm).
107107
#[ink(message)]
108108
fn owner_withdraw_token(&mut self, token: AccountId) -> Result<(), FarmError>;
109109

0 commit comments

Comments
 (0)