mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-12 09:32:33 +00:00
blanket comment some stuff out to narrow down this issue
This commit is contained in:
parent
bb422ed224
commit
8e130166ac
3 changed files with 12 additions and 7 deletions
|
@ -142,6 +142,12 @@ class WalletInfo extends HiveObject {
|
|||
List<String>? usedAddresses;
|
||||
|
||||
@HiveField(16)
|
||||
DerivationType? derivationType;// no longer used
|
||||
|
||||
@HiveField(17)
|
||||
String? derivationPath;// no longer used
|
||||
|
||||
@HiveField(18)
|
||||
DerivationInfo? derivationInfo;
|
||||
|
||||
String get yatLastUsedAddress => yatLastUsedAddressRaw ?? '';
|
||||
|
|
|
@ -101,12 +101,12 @@ abstract class ExchangeTradeViewModelBase with Store {
|
|||
return;
|
||||
}
|
||||
|
||||
sendViewModel.clearOutputs();
|
||||
final output = sendViewModel.outputs.first;
|
||||
output.address = trade.inputAddress ?? '';
|
||||
output.setCryptoAmount(trade.amount);
|
||||
sendViewModel.selectedCryptoCurrency = trade.from;
|
||||
await sendViewModel.createTransaction();
|
||||
// sendViewModel.clearOutputs();
|
||||
// final output = sendViewModel.outputs.first;
|
||||
// output.address = trade.inputAddress ?? '';
|
||||
// output.setCryptoAmount(trade.amount);
|
||||
// sendViewModel.selectedCryptoCurrency = trade.from;
|
||||
// await sendViewModel.createTransaction();
|
||||
}
|
||||
|
||||
@action
|
||||
|
|
|
@ -48,7 +48,6 @@ abstract class WalletNewVMBase extends WalletCreationVM with Store {
|
|||
return nano!.createNanoNewWalletCredentials(name: name);
|
||||
default:
|
||||
throw Exception('Unexpected type: ${type.toString()}');
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue