|
16 | 16 | //! this account has the privilege to cancel/release a payment that has been |
17 | 17 | //! disputed. |
18 | 18 | //! - Remark: The pallet allows to create payments by optionally providing some |
19 | | -//! extra(limited) amount of bytes, this is reffered to as Remark. This can be |
20 | | -//! used by a marketplace to seperate/tag payments. |
| 19 | +//! extra(limited) amount of bytes, this is referred to as Remark. This can be |
| 20 | +//! used by a marketplace to separate/tag payments. |
21 | 21 | //! - CancelBufferBlockLength: This is the time window where the recipient can |
22 | 22 | //! dispute a cancellation request from the payment creator. |
23 | 23 |
|
@@ -109,7 +109,7 @@ pub mod pallet { |
109 | 109 | type DisputeResolver: DisputeResolver<Self::AccountId>; |
110 | 110 | /// Fee handler trait |
111 | 111 | type FeeHandler: FeeHandler<Self>; |
112 | | - /// Incentive percentage - amount witheld from sender |
| 112 | + /// Incentive percentage - amount withheld from sender |
113 | 113 | #[pallet::constant] |
114 | 114 | type IncentivePercentage: Get<Percent>; |
115 | 115 | /// Maximum permitted size of `Remark` |
@@ -392,7 +392,7 @@ pub mod pallet { |
392 | 392 |
|
393 | 393 | /// Allow the creator of a payment to initiate a refund that will return |
394 | 394 | /// the funds after a configured amount of time that the reveiver has to |
395 | | - /// react and opose the request |
| 395 | + /// react and oppose the request |
396 | 396 | #[pallet::call_index(4)] |
397 | 397 | #[pallet::weight(T::WeightInfo::request_refund())] |
398 | 398 | pub fn request_refund(origin: OriginFor<T>, recipient: T::AccountId) -> DispatchResultWithPostInfo { |
|
0 commit comments