mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-02-07 05:36:31 +00:00
Merge pull request #3 from cake-tech/basic-refactor
Fixed cast for json to dart Map<String, dynamic> instead of Map<Strin…
This commit is contained in:
commit
3a76f113e2
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