mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 20:54:20 +01:00
Hotfix in sweep flow (#94)
This commit is contained in:
@@ -186,7 +186,7 @@ func (s *sweeper) createTask(
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
firstVtxo, err := s.repoManager.Vtxos().GetVtxos(ctx, sweepableVtxos[1:])
|
firstVtxo, err := s.repoManager.Vtxos().GetVtxos(ctx, sweepableVtxos[:1])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error(fmt.Errorf("error while getting vtxo: %w", err))
|
log.Error(fmt.Errorf("error while getting vtxo: %w", err))
|
||||||
sweepInputs = append(sweepInputs, input) // add the input anyway in order to try to sweep it
|
sweepInputs = append(sweepInputs, input) // add the input anyway in order to try to sweep it
|
||||||
|
|||||||
Reference in New Issue
Block a user