Skip to content

Commit

Permalink
Merge pull request #185 from gregdhill/fix/replace-insert
Browse files Browse the repository at this point in the history
fix: no need to insert replace request twice
  • Loading branch information
gregdhill authored Jul 13, 2021
2 parents db206a1 + b55463d commit f77d5f2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/replace/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,6 @@ impl<T: Config> Pallet<T> {

Self::insert_replace_request(&replace_id, &replace);

Self::insert_replace_request(&replace_id, &replace);

// Emit AcceptReplace event
Self::deposit_event(<Event<T>>::AcceptReplace(
replace_id,
Expand Down

0 comments on commit f77d5f2

Please sign in to comment.