Function pallet_tips::pallet::dispatchables::slash_tip
source · pub fn slash_tip<T: Config<I>, I: 'static>(hash: T::Hash)
Expand description
Remove and slash an already-open tip.
May only be called from T::RejectOrigin
.
As a result, the finder is slashed and the deposits are lost.
Emits TipSlashed
if successful.
§Complexity
- O(1).
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::slash_tip
.