mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 13:14:32 +00:00
possible bad state: no element error fix
This commit is contained in:
parent
0c3735ef41
commit
3b2260aab2
1 changed files with 1 additions and 1 deletions
|
@ -2164,7 +2164,7 @@ class BitcoinCashWallet extends CoinServiceAPI
|
||||||
|
|
||||||
final totalOut = outputs
|
final totalOut = outputs
|
||||||
.map((e) => e.value)
|
.map((e) => e.value)
|
||||||
.reduce((value, element) => value += element);
|
.fold(BigInt.zero, (value, element) => value + element);
|
||||||
|
|
||||||
isar_models.TransactionType type;
|
isar_models.TransactionType type;
|
||||||
isar_models.TransactionSubType subType =
|
isar_models.TransactionSubType subType =
|
||||||
|
|
Loading…
Reference in a new issue