Skip to content

Commit

Permalink
Fix condition for converting unselected inputs in wallet_sign_transac…
Browse files Browse the repository at this point in the history
…tion.dart
  • Loading branch information
willyfromtheblock committed Apr 20, 2024
1 parent b08dc5a commit be4dd1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/screens/wallet/wallet_sign_transaction.dart
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class _WalletSignTransactionScreenState
// conversion step for cointoolkit start
tx = Transaction(
inputs: tx.inputs.mapIndexed((i, input) {
if (!_checkedInputs.containsKey(i) || !_checkedInputs[i]!) {
if (!_checkedInputs.containsKey(i) || _checkedInputs[i]! == false) {
//don't convert this unselected input, return as is
return input;
}
Expand Down

0 comments on commit be4dd1f

Please sign in to comment.