pub fn swap_well_known_node<T: Config>(remove: OpaquePeerId, add: OpaquePeerId)
Expand description
Swap a well known node to another. Both the ownership and additional connections stay untouched.
May only be called from T::SwapOrigin
.
remove
: the node which will be moved out from the list.add
: the node which will be put in the list.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::swap_well_known_node
.