mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 20:54:20 +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:
@@ -113,7 +113,7 @@ func (v *vxtoRepository) GetAllVtxos(ctx context.Context, pubkey string) ([]doma
|
||||
spentVtxos := make([]domain.Vtxo, 0)
|
||||
|
||||
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