mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 12:44:19 +01:00
Hotfix in sweep flow (#94)
This commit is contained in:
@@ -186,7 +186,7 @@ func (s *sweeper) createTask(
|
||||
continue
|
||||
}
|
||||
|
||||
firstVtxo, err := s.repoManager.Vtxos().GetVtxos(ctx, sweepableVtxos[1:])
|
||||
firstVtxo, err := s.repoManager.Vtxos().GetVtxos(ctx, sweepableVtxos[:1])
|
||||
if err != nil {
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user