diff --git a/packages/polkadart_cli/lib/src/generator/pallet.dart b/packages/polkadart_cli/lib/src/generator/pallet.dart index e76cf722..4ee32938 100644 --- a/packages/polkadart_cli/lib/src/generator/pallet.dart +++ b/packages/polkadart_cli/lib/src/generator/pallet.dart @@ -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'; }