Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardocustodio authored Jan 13, 2024
1 parent 74edde1 commit 905d23b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/polkadart_cli/lib/src/generator/pallet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,8 @@ Class createPalletTxs(
..named = true
..name = field.sanitizedName)))
..body = Block((b) {
if (sanitize(txName) == sanitize(primitive.symbol.toString())) {
if (sanitize(txName) ==
sanitize(primitive.symbol.toString())) {
txName = '${txName}Variant';
}

Expand Down

0 comments on commit 905d23b

Please sign in to comment.