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 905d23b commit f80f9ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/polkadart_cli/lib/src/generator/pallet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ Class createPalletTxs(
..name = 'Txs'
..constructors.add(Constructor((b) => b..constant = true))
..methods.addAll(generator.txs.map((tx) => Method((builder) {
final txName = ReCase(tx.name).camelCase;
var txName = ReCase(tx.name).camelCase;
final Reference primitive = tx.codec.primitive(dirname);
final Reference runtimePrimitive =
generator.runtimeCall.primitive(dirname);
Expand All @@ -550,7 +550,7 @@ Class createPalletTxs(
sanitize(primitive.symbol.toString())) {
txName = '${txName}Variant';
}

Expression expression =
declareFinal('_call').assign(primitive);

Expand Down

0 comments on commit f80f9ee

Please sign in to comment.