Skip to content

Commit

Permalink
Merge pull request #2771 from jimwfs/chore/typos
Browse files Browse the repository at this point in the history
chore: remove duplicate words
  • Loading branch information
nazar-pc authored May 16, 2024
2 parents d159452 + 0163442 commit 616b48d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/pallet-feeds/src/feed_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl FeedObjectMapping {
}
// For content, we try to extract the content to derive the key
FeedObjectMapping::Content { offset } => {
// If offset is 0, then then we want to map the entire object.
// If offset is 0, then we want to map the entire object.
// Since the object is already decoded, no need to decode it further
let key = if offset == 0 {
hasher(object)
Expand Down
2 changes: 1 addition & 1 deletion crates/subspace-runtime/src/fees.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ impl pallet_transaction_payment::OnChargeTransaction<Runtime> for OnChargeTransa
{
// Calculate how much refund we should return
let refund_amount = imbalance.peek().saturating_sub(corrected_fee);
// Refund to the the account that paid the fees. If this fails, the account might have
// Refund to the account that paid the fees. If this fails, the account might have
// dropped below the existential balance. In that case we don't refund anything.
let refund_imbalance = Balances::deposit_into_existing(who, refund_amount)
.unwrap_or_else(|_| <Balances as Currency<AccountId>>::PositiveImbalance::zero());
Expand Down

0 comments on commit 616b48d

Please sign in to comment.