mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 04:34:19 +01:00
Add integration tests for sweeping rounds (#339)
* add "block" scheduler type + sweep integration test * increase timeout in integrationtests * remove config logs * rename scheduler package name * rename package * rename packages
This commit is contained in:
@@ -117,7 +117,7 @@ func (r *vtxoRepository) GetAllVtxos(
|
||||
spentVtxos := make([]domain.Vtxo, 0, len(vtxos))
|
||||
unspentVtxos := make([]domain.Vtxo, 0, len(vtxos))
|
||||
for _, vtxo := range vtxos {
|
||||
if vtxo.Spent {
|
||||
if vtxo.Spent || vtxo.Swept {
|
||||
spentVtxos = append(spentVtxos, vtxo)
|
||||
} else {
|
||||
unspentVtxos = append(unspentVtxos, vtxo)
|
||||
|
||||
Reference in New Issue
Block a user