Skip to content

Commit

Permalink
try removing min amount
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Jun 4, 2024
1 parent 9d91610 commit 65954b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions e2e/runner/bitcoin.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
var blockHeaderBTCTimeout = 5 * time.Minute

// ListDeployerUTXOs list the deployer's UTXOs that have at least `minAmount`
func (runner *E2ERunner) ListDeployerUTXOs(minAmount float64) ([]btcjson.ListUnspentResult, error) {
func (runner *E2ERunner) ListDeployerUTXOs(_ float64) ([]btcjson.ListUnspentResult, error) {
// query UTXOs from node
utxos, err := runner.BtcRPCClient.ListUnspentMinMaxAddresses(
1,
Expand All @@ -43,9 +43,9 @@ func (runner *E2ERunner) ListDeployerUTXOs(minAmount float64) ([]btcjson.ListUns
// filter UTXOs by `minAmount`
filtered := []btcjson.ListUnspentResult{}
for _, utxo := range utxos {
if utxo.Amount >= minAmount {
filtered = append(filtered, utxo)
}
//if utxo.Amount >= minAmount {
filtered = append(filtered, utxo)
//}
}

return filtered, nil
Expand Down

0 comments on commit 65954b3

Please sign in to comment.