Skip to content

Commit 24bb08c

Browse files
committed
fix: use max_unspent_utxos in get_all_utxos
1 parent b5250c6 commit 24bb08c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testnet/stacks-node/src/burnchains/bitcoin_regtest_controller.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ impl BitcoinRegtestController {
668668
max_conf.into(),
669669
filter_addresses.clone().into(),
670670
true.into(),
671-
json!({ "minimumAmount": minimum_amount }),
671+
json!({ "minimumAmount": minimum_amount, "maximumCount": self.config.burnchain.max_unspent_utxos }),
672672
],
673673
id: "stacks".to_string(),
674674
jsonrpc: "2.0".to_string(),

0 commit comments

Comments
 (0)