blanket comment some stuff out to narrow down this issue

This commit is contained in:
fosse 2023-10-10 10:08:22 -04:00
parent bb422ed224
commit 8e130166ac
3 changed files with 12 additions and 7 deletions

View file

@ -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 ?? '';

View file

@ -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

View file

@ -48,7 +48,6 @@ abstract class WalletNewVMBase extends WalletCreationVM with Store {
return nano!.createNanoNewWalletCredentials(name: name);
default:
throw Exception('Unexpected type: ${type.toString()}');
;
}
}