mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
Fixed cast for json to dart Map<String, dynamic> instead of Map<String, String> in too/secrets.dart
This commit is contained in:
parent
78ec11de47
commit
26ed668611
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ Future<void> main() async {
|
|||
: secretsTestPath;
|
||||
|
||||
final inoutContent = File(inputPath).readAsStringSync();
|
||||
final config = json.decode(inoutContent) as Map<String, String>;
|
||||
final config = json.decode(inoutContent) as Map<String, dynamic>;
|
||||
final output =
|
||||
'const salt = \'${config["salt"]}\';\nconst key = \'${config["key"]}\';\nconst walletSalt = \'${config["walletSalt"]}\';\nconst shortKey = \'${config["shortKey"]}\';\nconst change_now_api_key = \'${config["change_now_api_key"]}\';';
|
||||
|
||||
|
|
Loading…
Reference in a new issue