comment warning

This commit is contained in:
poka 2021-03-23 17:36:38 +01:00
parent 125a731656
commit de478e93e9
1 changed files with 4 additions and 5 deletions

View File

@ -10,7 +10,6 @@ import 'package:gecko/globals.dart';
import 'package:pdf/pdf.dart'; import 'package:pdf/pdf.dart';
import 'package:pdf/widgets.dart' as pw; import 'package:pdf/widgets.dart' as pw;
import 'package:printing/printing.dart'; import 'package:printing/printing.dart';
import 'package:truncate/truncate.dart';
class GenerateWalletsProvider with ChangeNotifier { class GenerateWalletsProvider with ChangeNotifier {
GenerateWalletsProvider(); GenerateWalletsProvider();
@ -245,10 +244,10 @@ class GenerateWalletsProvider with ChangeNotifier {
} }
Future importWallet(context, _cesiumID, _cesiumPWD) async { Future importWallet(context, _cesiumID, _cesiumPWD) async {
String _walletPubkey = await DubpRust.getLegacyPublicKey( // String _walletPubkey = await DubpRust.getLegacyPublicKey(
salt: _cesiumID, password: _cesiumPWD); // salt: _cesiumID, password: _cesiumPWD);
String shortPubkey = truncate(_walletPubkey, 9, // String shortPubkey = truncate(_walletPubkey, 9,
omission: "...", position: TruncatePosition.end); // omission: "...", position: TruncatePosition.end);
// await storeWallet( // await storeWallet(
// actualWallet, 'Portefeuille Cesium - $shortPubkey', context); // actualWallet, 'Portefeuille Cesium - $shortPubkey', context);
cesiumID.text = ''; cesiumID.text = '';