Skip to content

Commit

Permalink
Use generated weight for the set_node extrinsic
Browse files Browse the repository at this point in the history
  • Loading branch information
khssnv committed Oct 10, 2023
1 parent dd62513 commit 9b159a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/ddc-staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ pub mod pallet {
/// (Re-)set the node operator stash account of a DDC node.
///
/// The dispatch origin for this call must be _Signed_ by the stash, not the controller.
#[pallet::weight(10_000)]
#[pallet::weight(T::WeightInfo::set_node())]
pub fn set_node(
origin: OriginFor<T>,
node: <T::Lookup as StaticLookup>::Source,
Expand Down

0 comments on commit 9b159a1

Please sign in to comment.