Skip to content

Commit

Permalink
Update crates/core/component/funding/src/liquidity_tournament/action/…
Browse files Browse the repository at this point in the history
…mod.rs

Co-authored-by: Erwan Or <[email protected]>
Signed-off-by: Lúcás Meier <[email protected]>
  • Loading branch information
cronokirby and erwanor committed Jan 30, 2025
1 parent d299209 commit a8d55dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ impl EffectingData for ActionLiquidityTournamentVote {

impl ActionLiquidityTournamentVote {
/// This action doesn't actually produce or consume value.
pub fn balance_commmitment(&self) -> balance::Commitment {
pub fn balance_commitment(&self) -> balance::Commitment {
// This will be the commitment to zero.
balance::Commitment::default()
}
Expand Down
2 changes: 1 addition & 1 deletion crates/core/transaction/src/action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ impl IsAction for Action {
Action::ActionDutchAuctionSchedule(action) => action.balance_commitment(),
Action::ActionDutchAuctionEnd(action) => action.balance_commitment(),
Action::ActionDutchAuctionWithdraw(action) => action.balance_commitment(),
Action::ActionLiquidityTournamentVote(action) => action.balance_commmitment(),
Action::ActionLiquidityTournamentVote(action) => action.balance_commitment(),
}
}

Expand Down
2 changes: 1 addition & 1 deletion crates/core/transaction/src/is_action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ impl IsAction for ActionDutchAuctionWithdraw {

impl IsAction for ActionLiquidityTournamentVote {
fn balance_commitment(&self) -> balance::Commitment {
self.balance_commmitment()
self.balance_commitment()
}

fn view_from_perspective(&self, txp: &TransactionPerspective) -> ActionView {
Expand Down

0 comments on commit a8d55dc

Please sign in to comment.