Skip to content

Commit

Permalink
Update tx-weights-fees.md (#2120)
Browse files Browse the repository at this point in the history
Co-authored-by: Kian Paimani <[email protected]>
  • Loading branch information
gui1117 and kianenigma authored Feb 16, 2024
1 parent 212b3df commit d045dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/md/en/docs/build/tx-weights-fees.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,12 @@ use frame_support:: {
Pays::Yes,
},
weights::Weight,
};

#[pallet::weight(FunctionOf(
|args: (&Vec<User>,)| args.0.len().saturating_mul(10_000),
)
]

fn handle_users(origin, calls: Vec<User>) {
// Do something per user
}
Expand Down

0 comments on commit d045dba

Please sign in to comment.