Rename param and update comment (#1108)

* Rename param in `confirm_delivery`

* Fix typo

* Update comment

* Fix review issue
This commit is contained in:
bear
2021-09-06 14:05:10 +08:00
committed by Bastian Köcher
parent 88fa487631
commit e20163c4ea
3 changed files with 10 additions and 12 deletions
+1 -3
View File
@@ -136,9 +136,7 @@ impl<S: InboundLaneStorage> InboundLane<S> {
return ReceivalResult::TooManyUnconfirmedMessages;
}
// dispatch message before updating anything in the storage. If dispatch would panic,
// (which should not happen in the runtime) then we simply won't consider message as
// delivered (no changes to the inbound lane storage have been made).
// then, dispatch message
let dispatch_result = P::dispatch(
relayer_at_this_chain,
DispatchMessage {