mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-08 19:59:29 +00:00
extra firo logging
This commit is contained in:
parent
2bee017cb8
commit
1c812b0bf2
1 changed files with 10 additions and 4 deletions
|
@ -2926,10 +2926,16 @@ class FiroWallet extends CoinServiceAPI with WalletCache, WalletDB, FiroHive {
|
|||
// this should normally never be null anyways but old (dbVersion up to 4)
|
||||
// migrated transactions may not have had an address (full rescan should
|
||||
// fix this)
|
||||
final transactionAddress =
|
||||
value.item2.subType == isar_models.TransactionSubType.mint
|
||||
? value.item1
|
||||
: value.item1!;
|
||||
isar_models.Address? transactionAddress;
|
||||
try {
|
||||
transactionAddress =
|
||||
value.item2.subType == isar_models.TransactionSubType.mint
|
||||
? value.item1
|
||||
: value.item1!;
|
||||
} catch (_) {
|
||||
Logging.instance
|
||||
.log("_refreshLelantusData value: $value", level: LogLevel.Fatal);
|
||||
}
|
||||
final outs =
|
||||
value.item2.outputs.where((_) => true).toList(growable: false);
|
||||
final ins = value.item2.inputs.where((_) => true).toList(growable: false);
|
||||
|
|
Loading…
Reference in a new issue