Skip to content

Commit

Permalink
2do
Browse files Browse the repository at this point in the history
  • Loading branch information
willyfromtheblock committed Nov 30, 2023
1 parent 1b35575 commit 10e91e1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/providers/wallet_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,15 @@ class WalletProvider with ChangeNotifier {
//define utxo pool
final utxoPool = paperWalletUtxos ?? openWallet.utxos;

// CoinSelection.optimal(
// candidates: [InputCandidate(input: Input(), value: BigInt())],
// recipients: recipients,
// changeProgram: changeProgram,
// feePerKb: fee,
// minFee: minFee,
// minChange: minChange,
// ); TODO

if (txAmount <= openWallet.balance || paperWalletUtxos != null) {
if (utxoPool.isNotEmpty) {
//find eligible input utxos
Expand Down

0 comments on commit 10e91e1

Please sign in to comment.