v4.11.0 and v1.8.0 (#1192)

* v4.11.0 and v1.8.0

* Add missing functionalities to mac os monero api.cpp

* Fix creating a new wallet issue

* Remove un-necessary linux, macos, and windows files from bitcoincash package
This commit is contained in:
Omar Hatem
2023-11-30 16:51:19 +02:00
committed by GitHub
parent 89cb216bbf
commit 4d245b7ff1
20 changed files with 67 additions and 171 deletions
+3 -3
View File
@@ -32,18 +32,18 @@ abstract class WalletNewVMBase extends WalletCreationVM with Store {
@override
WalletCredentials getCredentials(dynamic _options) {
final options = _options as List<dynamic>;
final options = _options as List<dynamic>?;
switch (type) {
case WalletType.monero:
return monero!.createMoneroNewWalletCredentials(
name: name, language: options.first as String, isPolyseed: options.last as bool);
name: name, language: options!.first as String, isPolyseed: options.last as bool);
case WalletType.bitcoin:
return bitcoin!.createBitcoinNewWalletCredentials(name: name);
case WalletType.litecoin:
return bitcoin!.createBitcoinNewWalletCredentials(name: name);
case WalletType.haven:
return haven!.createHavenNewWalletCredentials(
name: name, language: options.first as String);
name: name, language: options!.first as String);
case WalletType.ethereum:
return ethereum!.createEthereumNewWalletCredentials(name: name);
case WalletType.bitcoinCash: