Skip to content

Commit

Permalink
set new mean value in trait
Browse files Browse the repository at this point in the history
  • Loading branch information
amiyatulu committed Jun 14, 2024
1 parent 3327ed5 commit 43fd1a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions custom-pallets/schelling-game-shared/src/share_link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,4 +321,8 @@ impl<T: Config> SchellingGameSharedLink for Pallet<T> {
) -> Result<JurorGameResult, DispatchError> {
Self::get_result_of_juror_score(key, who, range_point)
}

fn set_new_mean_value(key: Self::SumTreeName) -> DispatchResult {
Self::set_new_mean_value(key)
}
}
2 changes: 2 additions & 0 deletions traits/trait-schelling-game-shared/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,6 @@ pub trait SchellingGameSharedLink {
who: Self::AccountId,
range_point: Self::RangePoint,
) -> Result<Self::JurorGameResult, DispatchError>;

fn set_new_mean_value(key: Self::SumTreeName) -> DispatchResult;
}

0 comments on commit 43fd1a7

Please sign in to comment.