diff --git a/lib/providers/wallet_provider.dart b/lib/providers/wallet_provider.dart index d9279da6..6459b884 100644 --- a/lib/providers/wallet_provider.dart +++ b/lib/providers/wallet_provider.dart @@ -882,12 +882,13 @@ class WalletProvider with ChangeNotifier { _opReturn, ScriptPushData(utf8.encode(opReturn) as Uint8List), ]); - final output = Output.fromProgram( - BigInt.zero, - RawProgram(script), - ); - txOutputs.add(output); + txOutputs.add( + Output.fromProgram( + BigInt.zero, + RawProgram(script), + ), + ); } //generate keyMap